Class AccessTokenResponseContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.plugin.authn.oidc.rp.context.AbstractAuthenticatableOIDCContext
net.shibboleth.idp.plugin.authn.oidc.rp.context.AccessTokenResponseContext
- All Implemented Interfaces:
Iterable<BaseContext>
A context to hold an OIDC token request response. If authenticated, the Token was received over a TLS protected
channel where TLS credential validation was performed and successful.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.nimbusds.openid.connect.sdk.OIDCTokenResponseThe OAuth 2.0 and OIDC token response.private InstantThe time the token response was set onto this context. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.openid.connect.sdk.OIDCTokenResponseGet the OAuth 2.0 and OIDC Token Response.Get the time the token response was set onto this context.setTokenResponse(com.nimbusds.openid.connect.sdk.OIDCTokenResponse token) Set the OAuth 2.0 and OIDC Token Response.Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.context.AbstractAuthenticatableOIDCContext
isAuthenticated, setAuthenticatedMethods 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
-
tokenResponse
@Nullable private com.nimbusds.openid.connect.sdk.OIDCTokenResponse tokenResponseThe OAuth 2.0 and OIDC token response. -
tokenResponseCreatedAt
The time the token response was set onto this context.
-
-
Constructor Details
-
AccessTokenResponseContext
public AccessTokenResponseContext()
-
-
Method Details
-
setTokenResponse
public AccessTokenResponseContext setTokenResponse(@Nullable com.nimbusds.openid.connect.sdk.OIDCTokenResponse token) Set the OAuth 2.0 and OIDC Token Response.- Parameters:
token- the token response- Returns:
- this
-
getTokenResponse
@Nullable public com.nimbusds.openid.connect.sdk.OIDCTokenResponse getTokenResponse()Get the OAuth 2.0 and OIDC Token Response.- Returns:
- the token response
-
getTokenResponseCreatedAt
Get the time the token response was set onto this context.- Returns:
- the time the token response was set onto this context
-