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 SsaCreateRequest
static SsaCreateRequest
fromJson
(org.json.JSONObject requestObject) org.json.JSONObject
getOrgId()
void
setAccessToken
(String accessToken) void
setDescription
(String description) void
setExpiration
(Long expiration) void
setGrantTypes
(List<String> grantTypes) void
setLifetime
(Integer lifetime) void
setOneTimeUse
(Boolean oneTimeUse) void
void
setRotateSsa
(Boolean rotateSsa) void
setSoftwareId
(String softwareId) void
setSoftwareRoles
(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:
getQueryString
in classBaseRequest
-
getJSONParameters
public org.json.JSONObject getJSONParameters() throws org.json.JSONException- Overrides:
getJSONParameters
in classBaseRequest
- Throws:
org.json.JSONException
-
toString
-