Package io.jans.as.client
Class RegisterResponse
java.lang.Object
io.jans.as.client.BaseResponse
io.jans.as.client.BaseResponseWithErrors<io.jans.as.model.register.RegisterErrorResponseType>
io.jans.as.client.RegisterResponse
public class RegisterResponse
extends BaseResponseWithErrors<io.jans.as.model.register.RegisterErrorResponseType>
Represents a register response received from the authorization server.
- Version:
- July 18, 2017
- Author:
- Javier Rojas Blum
-
Field Summary
Fields inherited from class io.jans.as.client.BaseResponse
entity, headers, location, status -
Constructor Summary
ConstructorsConstructorDescriptionRegisterResponse(jakarta.ws.rs.core.Response clientResponse) Constructs a register response. -
Method Summary
Modifier and TypeMethodDescriptionio.jans.as.model.register.RegisterErrorResponseTypefromString(String string) Returns the client's identifier.Returns the client's password.Return the expiration date after which the client's account will expire.List<io.jans.as.model.common.GrantType>List<io.jans.as.model.common.ResponseType>voidvoidinjectDataFromJson(String json) voidsetClientId(String clientId) Sets the client's identifier.voidsetClientIdIssuedAt(Date clientIdIssuedAt) voidsetClientSecret(String clientSecret) Sets the client's password.voidsetClientSecretExpiresAt(Date clientSecretExpiresAt) Sets the expiration date after which the client's account will expire.voidsetGrantTypes(List<io.jans.as.model.common.GrantType> grantTypes) voidsetRegistrationAccessToken(String registrationAccessToken) voidsetRegistrationClientUri(String registrationClientUri) voidsetResponseTypes(List<io.jans.as.model.common.ResponseType> responseTypes) static RegisterResponseMethods inherited from class io.jans.as.client.BaseResponseWithErrors
getClaim, getClaimMap, getClaims, getErrorDescription, getErrorType, getErrorUri, getFirstClaim, injectErrorIfExistSilently, injectErrorIfExistSilently, setClaimMap, setErrorDescription, setErrorType, setErrorUri, toStringMethods inherited from class io.jans.as.client.BaseResponse
getEntity, getHeaders, getLocation, getStatus, setEntity, setHeaders, setLocation, setStatus
-
Constructor Details
-
RegisterResponse
public RegisterResponse() -
RegisterResponse
public RegisterResponse(jakarta.ws.rs.core.Response clientResponse) Constructs a register response.
-
-
Method Details
-
fromString
- Specified by:
fromStringin classBaseResponseWithErrors<io.jans.as.model.register.RegisterErrorResponseType>
-
injectDataFromJson
public void injectDataFromJson() -
valueOf
-
injectDataFromJson
- Overrides:
injectDataFromJsonin classBaseResponseWithErrors<io.jans.as.model.register.RegisterErrorResponseType>
-
getClientId
Returns the client's identifier.- Returns:
- The client's identifier.
-
setClientId
Sets the client's identifier.- Parameters:
clientId- The client's identifier.
-
getClientSecret
Returns the client's password.- Returns:
- The client's password.
-
setClientSecret
Sets the client's password.- Parameters:
clientSecret- The client's password.
-
getRegistrationAccessToken
-
setRegistrationAccessToken
-
getRegistrationClientUri
-
setRegistrationClientUri
-
getClientIdIssuedAt
-
setClientIdIssuedAt
-
getClientSecretExpiresAt
Return the expiration date after which the client's account will expire.nullif the client's account never expires.- Returns:
- The expiration date.
-
setClientSecretExpiresAt
Sets the expiration date after which the client's account will expire.nullif the client's account never expires.- Parameters:
clientSecretExpiresAt- The expiration date.
-
getResponseTypes
-
setResponseTypes
-
getGrantTypes
-
setGrantTypes
-