Interface OpenIdConnectTokenGeneration

  • All Known Implementing Classes:
    OpenIdConnectTokenGenerationImpl

    public interface OpenIdConnectTokenGeneration
    Encapsulates the concerns of generating a OpenIdConnect Id Token.
    • 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 token
        stsInstanceState - The STS-instance-specific state necessary to generate the token
        invocationState - 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