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 SsaCreateRequest
fromJson(String json)
static SsaCreateRequest
fromJson(org.json.JSONObject requestObject)
String
getAccessToken()
String
getDescription()
Long
getExpiration()
List<String>
getGrantTypes()
org.json.JSONObject
getJSONParameters()
Integer
getLifetime()
Boolean
getOneTimeUse()
String
getOrgId()
String
getQueryString()
Boolean
getRotateSsa()
String
getSoftwareId()
List<String>
getSoftwareRoles()
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
setOrgId(String orgId)
void
setRotateSsa(Boolean rotateSsa)
void
setSoftwareId(String softwareId)
void
setSoftwareRoles(List<String> softwareRoles)
String
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
-
-
-
-
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:
getQueryString
in classBaseRequest
-
getJSONParameters
public org.json.JSONObject getJSONParameters() throws org.json.JSONException
- Overrides:
getJSONParameters
in classBaseRequest
- Throws:
org.json.JSONException
-
-