Class OIDCClientRegistrationResponseContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.plugin.oidc.op.messaging.context.OIDCClientRegistrationResponseContext
- All Implemented Interfaces:
Iterable<BaseContext>
Subcontext carrying information on OIDC client registration response. This
context appears as a subcontext of the
MessageContext.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringMandatory Unique Client Identifier.private InstantOptional time at which the client identifier was issued.private OIDCClientMetadataThe metadata for the client: the attributes supported by the OP must be included.private StringOptional client secret.private InstantTime at which the client secret will expire or 0 if it will not expire.private StringOptional registration access token.private StringOptional location of the client configuration endpoint. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the client identifier.Get the time at which the client identifier was issued.Get the metadata for the client: the attributes supported by the OP must be included.Get the client secret.Get the time at which the client secret will expire.Get the registration access token.Get the location of the client configuration endpoint.voidsetClientId(String id) Set the client identifier.voidsetClientIdIssuedAt(Instant idIssuedAt) Set the time at which the client identifier was issued.voidsetClientMetadata(OIDCClientMetadata metadata) Set the metadata for the client: the attributes supported by the OP must be included.voidsetClientSecret(String secret) Set the client secret.voidsetClientSecretExpiresAt(Instant secretExpiresAt) Set the time at which the client secret will expire.voidsetRegAccessToken(String accessToken) Set the registration access token.voidsetRegClientUri(String clientUri) Set the location of the client configuration endpoint.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, ensureSubcontext, ensureSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeFromParent, removeSubcontext, removeSubcontext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
clientId
Mandatory Unique Client Identifier. -
clientSecret
Optional client secret. -
regAccessToken
Optional registration access token. -
regClientUri
Optional location of the client configuration endpoint. -
clientIdIssuedAt
Optional time at which the client identifier was issued. -
clientSecretExpiresAt
Time at which the client secret will expire or 0 if it will not expire. Required if the secret was issued. -
clientMetadata
The metadata for the client: the attributes supported by the OP must be included.
-
-
Constructor Details
-
OIDCClientRegistrationResponseContext
public OIDCClientRegistrationResponseContext()
-
-
Method Details
-
getClientId
Get the client identifier.- Returns:
- The client identifier.
-
setClientId
Set the client identifier.- Parameters:
id- The client identifier.
-
getClientSecret
Get the client secret.- Returns:
- The client secret.
-
setClientSecret
Set the client secret.- Parameters:
secret- The client secret.
-
getRegAccessToken
Get the registration access token.- Returns:
- The registration access token.
-
setRegAccessToken
Set the registration access token.- Parameters:
accessToken- The registration access token.
-
getRegClientUri
Get the location of the client configuration endpoint.- Returns:
- The location of the client configuration endpoint.
-
setRegClientUri
Set the location of the client configuration endpoint.- Parameters:
clientUri- The location of the client configuration endpoint.
-
getClientIdIssuedAt
Get the time at which the client identifier was issued.- Returns:
- The time at which the client identifier was issued.
-
setClientIdIssuedAt
Set the time at which the client identifier was issued.- Parameters:
idIssuedAt- The time at which the client identifier was issued.
-
getClientSecretExpiresAt
Get the time at which the client secret will expire.- Returns:
- The time at which the client secret will expire.
-
setClientSecretExpiresAt
Set the time at which the client secret will expire.- Parameters:
secretExpiresAt- The time at which the client secret will expire.
-
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
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.
-