Class OIDCClientRegistrationResponseContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

    public class OIDCClientRegistrationResponseContext
    extends BaseContext
    Subcontext carrying information on OIDC client registration response. This context appears as a subcontext of the MessageContext.
    • Field Detail

      • clientId

        private String clientId
        Mandatory Unique Client Identifier.
      • clientSecret

        private String clientSecret
        Optional client secret.
      • regAccessToken

        private String regAccessToken
        Optional registration access token.
      • regClientUri

        private String regClientUri
        Optional location of the client configuration endpoint.
      • clientIdIssuedAt

        private Instant clientIdIssuedAt
        Optional time at which the client identifier was issued.
      • clientSecretExpiresAt

        private Instant clientSecretExpiresAt
        Time at which the client secret will expire or 0 if it will not expire. Required if the secret was issued.
      • clientMetadata

        private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata clientMetadata
        The metadata for the client: the attributes supported by the OP must be included.
    • Constructor Detail

      • OIDCClientRegistrationResponseContext

        public OIDCClientRegistrationResponseContext()
    • Method Detail

      • getClientId

        public String getClientId()
        Get the client identifier.
        Returns:
        The client identifier.
      • setClientId

        public void setClientId​(String id)
        Set the client identifier.
        Parameters:
        id - The client identifier.
      • getClientSecret

        public String getClientSecret()
        Get the client secret.
        Returns:
        The client secret.
      • setClientSecret

        public void setClientSecret​(String secret)
        Set the client secret.
        Parameters:
        secret - The client secret.
      • getRegAccessToken

        public String getRegAccessToken()
        Get the registration access token.
        Returns:
        The registration access token.
      • setRegAccessToken

        public void setRegAccessToken​(String accessToken)
        Set the registration access token.
        Parameters:
        accessToken - The registration access token.
      • getRegClientUri

        public String getRegClientUri()
        Get the location of the client configuration endpoint.
        Returns:
        The location of the client configuration endpoint.
      • setRegClientUri

        public void setRegClientUri​(String clientUri)
        Set the location of the client configuration endpoint.
        Parameters:
        clientUri - The location of the client configuration endpoint.
      • getClientIdIssuedAt

        public Instant getClientIdIssuedAt()
        Get the time at which the client identifier was issued.
        Returns:
        The time at which the client identifier was issued.
      • setClientIdIssuedAt

        public void setClientIdIssuedAt​(Instant idIssuedAt)
        Set the time at which the client identifier was issued.
        Parameters:
        idIssuedAt - The time at which the client identifier was issued.
      • getClientSecretExpiresAt

        public Instant getClientSecretExpiresAt()
        Get the time at which the client secret will expire.
        Returns:
        The time at which the client secret will expire.
      • setClientSecretExpiresAt

        public void setClientSecretExpiresAt​(Instant secretExpiresAt)
        Set the time at which the client secret will expire.
        Parameters:
        secretExpiresAt - The time at which the client secret will expire.
      • getClientMetadata

        public com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata getClientMetadata()
        Get the metadata for the client: the attributes supported by the OP must be included.
        Returns:
        The metadata for the client: the attributes supported by the OP must be included.
      • setClientMetadata

        public void setClientMetadata​(com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata metadata)
        Set the metadata for the client: the attributes supported by the OP must be included.
        Parameters:
        metadata - The metadata for the client: the attributes supported by the OP must be included.