Class OIDCClientRegistrationResponseContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.plugin.oidc.op.messaging.context.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 Details

    • clientId

      @Nullable private String clientId
      Mandatory Unique Client Identifier.
    • clientSecret

      @Nullable private String clientSecret
      Optional client secret.
    • regAccessToken

      @Nullable private String regAccessToken
      Optional registration access token.
    • regClientUri

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

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

      @Nullable 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

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

      @Nullable private com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation clientInformation
      The client information object carrying client ID, secret and metadata.
  • Constructor Details

    • OIDCClientRegistrationResponseContext

      public OIDCClientRegistrationResponseContext()
  • Method Details

    • getClientId

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

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

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

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

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

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

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

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

      @Nullable 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(@Nullable Instant idIssuedAt)
      Set the time at which the client identifier was issued.
      Parameters:
      idIssuedAt - The time at which the client identifier was issued.
    • getClientSecretExpiresAt

      @Nullable 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(@Nullable Instant secretExpiresAt)
      Set the time at which the client secret will expire.
      Parameters:
      secretExpiresAt - The time at which the client secret will expire.
    • getClientMetadata

      @Nullable 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(@Nullable 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.
    • setClientInformation

      public void setClientInformation(@Nullable com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation information)
      Set the client information object carrying client ID, secret and metadata.
      Parameters:
      information - The client information object carrying client ID, secret and metadata.
      Since:
      4.4.0
    • getClientInformation

      @Nullable public com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation getClientInformation()
      Get the client information object carrying client ID, secret and metadata.
      Returns:
      The client information object carrying client ID, secret and metadata.
      Since:
      443.0