Class OpenIdConnectTokenGenerationImpl
- java.lang.Object
-
- org.forgerock.openam.sts.tokengeneration.oidc.OpenIdConnectTokenGenerationImpl
-
- All Implemented Interfaces:
OpenIdConnectTokenGeneration
public class OpenIdConnectTokenGenerationImpl extends Object implements OpenIdConnectTokenGeneration
- See Also:
OpenIdConnectTokenGeneration
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgenerate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState)
-
-
-
Method Detail
-
generate
public String generate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState) throws TokenCreationException
- Specified by:
generatein interfaceOpenIdConnectTokenGeneration- Parameters:
subjectToken- The SSOToken authenticating the identity of the subject of the tokenstsInstanceState- The STS-instance-specific state necessary to generate the tokeninvocationState- The parameters with which the TokenGenerationService was invoked.- Returns:
- The base64-encoded String representation of the token
- Throws:
TokenCreationException- if the token could not be successfully created
-
-