Package io.jans.as.client.ssa.create
Class SsaCreateRequest
java.lang.Object
io.jans.as.client.BaseRequest
io.jans.as.client.ssa.create.SsaCreateRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SsaCreateRequeststatic SsaCreateRequestfromJson(org.json.JSONObject requestObject) org.json.JSONObjectgetOrgId()voidsetAccessToken(String accessToken) voidsetDescription(String description) voidsetExpiration(Long expiration) voidsetGrantTypes(List<String> grantTypes) voidsetLifetime(Integer lifetime) voidsetOneTimeUse(Boolean oneTimeUse) voidvoidsetRotateSsa(Boolean rotateSsa) voidsetSoftwareId(String softwareId) voidsetSoftwareRoles(List<String> softwareRoles) toString()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
-
Constructor Details
-
SsaCreateRequest
public SsaCreateRequest()
-
-
Method Details
-
getOrgId
-
setOrgId
-
getExpiration
-
setExpiration
-
getDescription
-
setDescription
-
getSoftwareId
-
setSoftwareId
-
getSoftwareRoles
-
setSoftwareRoles
-
getGrantTypes
-
setGrantTypes
-
getOneTimeUse
-
setOneTimeUse
-
getRotateSsa
-
setRotateSsa
-
getLifetime
-
setLifetime
-
getAccessToken
-
setAccessToken
-
fromJson
- Throws:
org.json.JSONException
-
fromJson
public static SsaCreateRequest fromJson(org.json.JSONObject requestObject) throws org.json.JSONException - Throws:
org.json.JSONException
-
getQueryString
- Specified by:
getQueryStringin classBaseRequest
-
getJSONParameters
public org.json.JSONObject getJSONParameters() throws org.json.JSONException- Overrides:
getJSONParametersin classBaseRequest- Throws:
org.json.JSONException
-
toString
-