Package | Description |
---|---|
org.forgerock.json.jose.tokenhandler |
JWT implementation(s) of
TokenHandler . |
org.forgerock.tokenhandler |
Provides token handler definition.
|
Modifier and Type | Method and Description |
---|---|
String |
JwtTokenHandler.generate(JsonValue state) |
void |
JwtTokenHandler.validate(String snapshotToken) |
JsonValue |
JwtTokenHandler.validateAndExtractState(String snapshotToken) |
Modifier and Type | Class and Description |
---|---|
class |
ExpiredTokenException
An exception generated by a
TokenHandler on extraction when the token is expired. |
class |
InvalidTokenException
An exception generated by a
TokenHandler on validation or extraction when the token is invalid. |
Modifier and Type | Method and Description |
---|---|
String |
TokenHandler.generate(JsonValue state)
Generates a new token using the state.
|
void |
TokenHandler.validate(String token)
Validates the passed token.
|
JsonValue |
TokenHandler.validateAndExtractState(String token)
Validates and parses the token, extracting any encapsulated state.
|
Copyright 2010-2022 ForgeRock AS.