public interface SnapshotTokenHandler
Modifier and Type | Method and Description |
---|---|
String |
generate(JsonValue state)
Generates a new snapshot token using the state.
|
void |
validate(String snapshotToken)
Validates the passed snapshot token.
|
JsonValue |
validateAndExtractState(String snapshotToken)
Validates and parses the token, extracting any encapsulated state.
|
String generate(JsonValue state) throws ResourceException
state
- the stateResourceException
- thrown should some issue occur creating the snapshot tokenvoid validate(String snapshotToken) throws ResourceException
snapshotToken
- the snapshot token to be validatedResourceException
- thrown should some issue be found with the tokenJsonValue validateAndExtractState(String snapshotToken) throws ResourceException
snapshotToken
- the snapshot token to be validated and parsedResourceException
- thrown should some issue be found with the tokenCopyright © 2025 Open Identity Platform Community. All rights reserved.