Package org.forgerock.openig.filter.jwt
Class JwtValidationContext
- java.lang.Object
-
- org.forgerock.services.context.AbstractContext
-
- org.forgerock.openig.filter.jwt.JwtValidationContext
-
- All Implemented Interfaces:
Context
public class JwtValidationContext extends AbstractContext
AJwtValidationContext
used to store the 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 JwtClaimsSet
getClaims()
Returns the claims copy as aJwtClaimsSet
.Map<String,Object>
getInfo()
Returns the claims copy as aMap
.Jwt
getJwt()
Returns a copy of theJwt
.String
getValue()
Returns the JWT.-
Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, 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 JWT.- Returns:
- the JWT.
-
getClaims
public JwtClaimsSet getClaims()
Returns the claims copy as aJwtClaimsSet
.- Returns:
- the claims copy as a
JwtClaimsSet
.
-
-