Interface OpenIdConnectTokenGeneration
-
- All Known Implementing Classes:
OpenIdConnectTokenGenerationImpl
public interface OpenIdConnectTokenGenerationEncapsulates the concerns of generating a OpenIdConnect Id Token.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringgenerate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState)
-
-
-
Method Detail
-
generate
String generate(SSOToken subjectToken, STSInstanceState stsInstanceState, TokenGenerationServiceInvocationState invocationState) throws TokenCreationException
- 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
-
-