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>
public class AccessTokenResponseContext extends AbstractAuthenticatableOIDCContext
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
-
-
Field Summary
Fields Modifier and Type Field Description private com.nimbusds.jwt.JWTidTokenThe id_token, should match that in the rawTokenResponse if one exists.private Map<String,Object>rawTokenResponseThe raw token response as a map.
-
Constructor Summary
Constructors Constructor Description AccessTokenResponseContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.jwt.JWTgetIdToken()Get the id_token.Map<String,Object>getRawTokenResponse()Get the raw token response map.voidsetIdToken(com.nimbusds.jwt.JWT token)Set the id_token.voidsetRawTokenResponse(Map<String,Object> rawResponse)Set the raw token response as a map.-
Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.context.AbstractAuthenticatableOIDCContext
isAuthenticated, setAuthenticated
-
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
-
-
-
-
Method Detail
-
setRawTokenResponse
public void setRawTokenResponse(@Nullable Map<String,Object> rawResponse)Set the raw token response as a map.- Parameters:
rawResponse- the raw response.
-
getRawTokenResponse
@Nullable public Map<String,Object> getRawTokenResponse()
Get the raw token response map.- Returns:
- the raw response map.
-
setIdToken
public void setIdToken(@Nullable com.nimbusds.jwt.JWT token)Set the id_token.- Parameters:
token- the id_token.
-
getIdToken
@Nullable public com.nimbusds.jwt.JWT getIdToken()
Get the id_token.- Returns:
- the id_token.
-
-