Class IdTokenContext
- java.lang.Object
-
- org.forgerock.services.context.AbstractContext
-
- org.forgerock.openig.filter.oauth2.client.IdTokenContext
-
- All Implemented Interfaces:
Context
public class IdTokenContext extends AbstractContext
AnIdTokenContext
used to store idToken, JWT and claims.
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
Context's name.-
Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.json.jose.jwt.JwtClaimsSet
getClaims()
Returns the claims copy as aJwtClaimsSet
.Map<String,Object>
getInfo()
Returns the claims copy as aMap
.org.forgerock.json.jose.jws.SignedJwt
getJwt()
Returns a copy of theSignedJwt
.String
getValue()
Returns the IdToken.-
Methods inherited from class org.forgerock.services.context.AbstractContext
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
-
-
-
Field Detail
-
NAME
public static final String NAME
Context's name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getValue
public String getValue()
Returns the IdToken.- Returns:
- the IdToken.
-
getJwt
public org.forgerock.json.jose.jws.SignedJwt getJwt()
Returns a copy of theSignedJwt
.- Returns:
- a copy of the
SignedJwt
.
-
getClaims
public org.forgerock.json.jose.jwt.JwtClaimsSet getClaims()
Returns the claims copy as aJwtClaimsSet
.- Returns:
- the claims copy as a
JwtClaimsSet
.
-
-