Package org.forgerock.openig.assertion
Class IdentityRequestJwtContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.assertion.IdentityRequestJwtContext
- All Implemented Interfaces:
Context
An
IdentityRequestJwtContext
is used to store the key details of the Identity Request JWT.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enums that represent the version of the Identity Request JWT. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The identity request data claim name.static final String
The identity request nonce claim name.static final String
The identity request redirect claim name.static final String
The identity request version claim name.Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
Constructor Summary
ConstructorDescriptionIdentityRequestJwtContext
(Context parent, EncryptedJwt identityRequestJwt) Creates a newIdentityRequestJwtContext
context based on a validated Identity Request JWT. -
Method Summary
Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
Field Details
-
DATA_CLAIM
The identity request data claim name.- See Also:
-
NONCE_CLAIM
The identity request nonce claim name.- See Also:
-
REDIRECT_CLAIM
The identity request redirect claim name.- See Also:
-
VERSION_CLAIM
The identity request version claim name.- See Also:
-
-
Constructor Details
-
IdentityRequestJwtContext
Creates a newIdentityRequestJwtContext
context based on a validated Identity Request JWT.- Parameters:
parent
- The parent context.identityRequestJwt
- A validated Identity Request JWT to apply to this context, notnull
.
-
-
Method Details
-
dataClaims
Returns any data claims from the Identity Request JWT.- Returns:
- any data claims from the Identity Request JWT.
-
nonce
Returns the nonce from the Identity Request JWT.- Returns:
- the nonce from the Identity Request JWT.
-
redirect
Returns the redirect from the Identity Request JWT.- Returns:
- the redirect from the Identity Request JWT.
-
version
Return the Request JWT version.- Returns:
- the Request JWT version.
-