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 theMessageContext.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Field Summary
Fields Modifier and Type Field Description private StringclientIdMandatory Unique Client Identifier.private InstantclientIdIssuedAtOptional time at which the client identifier was issued.private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadataclientMetadataThe metadata for the client: the attributes supported by the OP must be included.private StringclientSecretOptional client secret.private InstantclientSecretExpiresAtTime at which the client secret will expire or 0 if it will not expire.private StringregAccessTokenOptional registration access token.private StringregClientUriOptional location of the client configuration endpoint.
-
Constructor Summary
Constructors Constructor Description OIDCClientRegistrationResponseContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()Get the client identifier.InstantgetClientIdIssuedAt()Get the time at which the client identifier was issued.com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadatagetClientMetadata()Get the metadata for the client: the attributes supported by the OP must be included.StringgetClientSecret()Get the client secret.InstantgetClientSecretExpiresAt()Get the time at which the client secret will expire.StringgetRegAccessToken()Get the registration access token.StringgetRegClientUri()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(com.nimbusds.openid.connect.sdk.rp.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, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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.
-
-
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.
-
-