public interface TokenRequestMarshaller
Modifier and Type | Method and Description |
---|---|
RestIssuedTokenCancellerParameters<?> |
buildIssuedTokenCancellerParameters(org.forgerock.json.JsonValue token)
Marshals state from a token cancel invocation into the RestIssuedTokenCancellerParameters necessary to cancel this token
|
RestIssuedTokenValidatorParameters<?> |
buildIssuedTokenValidatorParameters(org.forgerock.json.JsonValue token)
Marshals state from a token validate invocation into the RestIssuedTokenValidatorParameters necessary to validate this token
|
RestTokenProviderParameters<?> |
buildTokenProviderParameters(TokenTypeId inputTokenType,
org.forgerock.json.JsonValue inputToken,
TokenTypeId desiredTokenType,
org.forgerock.json.JsonValue desiredTokenState)
Marshals state from a token translate invocation into the RestTokenProviderParameters necessary to create a token
of the specified type
|
RestTokenTransformValidatorParameters<?> |
buildTokenTransformValidatorParameters(org.forgerock.json.JsonValue token,
org.forgerock.services.context.Context context)
Marshals state from a token translate invocation into the RestTokenTransformValidatorParameters necessary to validate this token.
|
TokenTypeId |
getTokenType(org.forgerock.json.JsonValue token)
Returns the TokenType corresponding to the JsonValue.
|
RestTokenTransformValidatorParameters<?> buildTokenTransformValidatorParameters(org.forgerock.json.JsonValue token, org.forgerock.services.context.Context context) throws TokenMarshalException
token
- the json representation of a tokencontext
- The Context, which is necessary to obtain the client's x509 cert
presented via two-way-tls for token transformations with x509 certs as input token types.TokenMarshalException
- if the json string cannot be marshaled into a recognized token.RestIssuedTokenValidatorParameters<?> buildIssuedTokenValidatorParameters(org.forgerock.json.JsonValue token) throws TokenMarshalException
token
- the token specified in the validate requestTokenMarshalException
- if the json does not contain state sufficient to create a RestIssuedtokenValidatorParameters instanceRestIssuedTokenCancellerParameters<?> buildIssuedTokenCancellerParameters(org.forgerock.json.JsonValue token) throws TokenMarshalException
token
- the token specified in the cancel requestTokenMarshalException
- if the json does not contain state sufficient to create a RestIssuedtokenCancellerParameters instanceRestTokenProviderParameters<?> buildTokenProviderParameters(TokenTypeId inputTokenType, org.forgerock.json.JsonValue inputToken, TokenTypeId desiredTokenType, org.forgerock.json.JsonValue desiredTokenState) throws TokenMarshalException
inputTokenType
- the type of input tokeninputToken
- the json specifying the input tokendesiredTokenType
- the type of the output tokendesiredTokenState
- the json state corresponding this output token typeTokenMarshalException
- if the json does not contain state sufficient to create a RestTokenProviderParameters instanceTokenTypeId getTokenType(org.forgerock.json.JsonValue token) throws TokenMarshalException
token
- The token definitionTokenMarshalException
- if the TOKEN_TYPE_KEY is missing or unrecognized.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.