Class 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
    • Constructor Detail

      • RegisterResponse

        public RegisterResponse()
      • RegisterResponse

        public RegisterResponse​(jakarta.ws.rs.core.Response clientResponse)
        Constructs a register response.
    • Method Detail

      • fromString

        public io.jans.as.model.register.RegisterErrorResponseType fromString​(java.lang.String string)
        Specified by:
        fromString in class BaseResponseWithErrors<io.jans.as.model.register.RegisterErrorResponseType>
      • injectDataFromJson

        public void injectDataFromJson()
      • getClientId

        public java.lang.String getClientId()
        Returns the client's identifier.
        Returns:
        The client's identifier.
      • setClientId

        public void setClientId​(java.lang.String clientId)
        Sets the client's identifier.
        Parameters:
        clientId - The client's identifier.
      • getClientSecret

        public java.lang.String getClientSecret()
        Returns the client's password.
        Returns:
        The client's password.
      • setClientSecret

        public void setClientSecret​(java.lang.String clientSecret)
        Sets the client's password.
        Parameters:
        clientSecret - The client's password.
      • getRegistrationAccessToken

        public java.lang.String getRegistrationAccessToken()
      • setRegistrationAccessToken

        public void setRegistrationAccessToken​(java.lang.String registrationAccessToken)
      • getRegistrationClientUri

        public java.lang.String getRegistrationClientUri()
      • setRegistrationClientUri

        public void setRegistrationClientUri​(java.lang.String registrationClientUri)
      • getClientIdIssuedAt

        public java.util.Date getClientIdIssuedAt()
      • setClientIdIssuedAt

        public void setClientIdIssuedAt​(java.util.Date clientIdIssuedAt)
      • getClientSecretExpiresAt

        public java.util.Date getClientSecretExpiresAt()
        Return the expiration date after which the client's account will expire. null if the client's account never expires.
        Returns:
        The expiration date.
      • setClientSecretExpiresAt

        public void setClientSecretExpiresAt​(java.util.Date clientSecretExpiresAt)
        Sets the expiration date after which the client's account will expire. null if the client's account never expires.
        Parameters:
        clientSecretExpiresAt - The expiration date.
      • getResponseTypes

        public java.util.List<io.jans.as.model.common.ResponseType> getResponseTypes()
      • setResponseTypes

        public void setResponseTypes​(java.util.List<io.jans.as.model.common.ResponseType> responseTypes)
      • getGrantTypes

        public java.util.List<io.jans.as.model.common.GrantType> getGrantTypes()
      • setGrantTypes

        public void setGrantTypes​(java.util.List<io.jans.as.model.common.GrantType> grantTypes)