Package io.jans.as.client.ssa.create
Class SsaCreateRequest
- java.lang.Object
-
- io.jans.as.client.BaseRequest
-
- io.jans.as.client.ssa.create.SsaCreateRequest
-
public class SsaCreateRequest extends BaseRequest
-
-
Constructor Summary
Constructors Constructor Description SsaCreateRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SsaCreateRequestfromJson(String json)static SsaCreateRequestfromJson(org.json.JSONObject requestObject)StringgetAccessToken()StringgetDescription()LonggetExpiration()List<String>getGrantTypes()org.json.JSONObjectgetJSONParameters()IntegergetLifetime()BooleangetOneTimeUse()StringgetOrgId()StringgetQueryString()BooleangetRotateSsa()StringgetSoftwareId()List<String>getSoftwareRoles()voidsetAccessToken(String accessToken)voidsetDescription(String description)voidsetExpiration(Long expiration)voidsetGrantTypes(List<String> grantTypes)voidsetLifetime(Integer lifetime)voidsetOneTimeUse(Boolean oneTimeUse)voidsetOrgId(String orgId)voidsetRotateSsa(Boolean rotateSsa)voidsetSoftwareId(String softwareId)voidsetSoftwareRoles(List<String> softwareRoles)StringtoString()-
Methods inherited from class io.jans.as.client.BaseRequest
addCustomParameter, getAuthenticationMethod, getAuthorizationMethod, getAuthPassword, getAuthUsername, getContentType, getCredentials, getCustomParameters, getEncodedCredentials, getEncodedCredentials, getMediaType, getParameters, hasCredentials, setAuthenticationMethod, setAuthorizationMethod, setAuthPassword, setAuthUsername, setContentType, setMediaType
-
-
-
-
Method Detail
-
getOrgId
public String getOrgId()
-
setOrgId
public void setOrgId(String orgId)
-
getExpiration
public Long getExpiration()
-
setExpiration
public void setExpiration(Long expiration)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getSoftwareId
public String getSoftwareId()
-
setSoftwareId
public void setSoftwareId(String softwareId)
-
getOneTimeUse
public Boolean getOneTimeUse()
-
setOneTimeUse
public void setOneTimeUse(Boolean oneTimeUse)
-
getRotateSsa
public Boolean getRotateSsa()
-
setRotateSsa
public void setRotateSsa(Boolean rotateSsa)
-
getLifetime
public Integer getLifetime()
-
setLifetime
public void setLifetime(Integer lifetime)
-
getAccessToken
public String getAccessToken()
-
setAccessToken
public void setAccessToken(String accessToken)
-
fromJson
public static SsaCreateRequest fromJson(String json) throws org.json.JSONException
- Throws:
org.json.JSONException
-
fromJson
public static SsaCreateRequest fromJson(org.json.JSONObject requestObject) throws org.json.JSONException
- Throws:
org.json.JSONException
-
getQueryString
public String getQueryString()
- Specified by:
getQueryStringin classBaseRequest
-
getJSONParameters
public org.json.JSONObject getJSONParameters() throws org.json.JSONException- Overrides:
getJSONParametersin classBaseRequest- Throws:
org.json.JSONException
-
-