Class OpenIDTokenIssuer


  • public class OpenIDTokenIssuer
    extends Object
    Issues OpenId Connect tokens and stores them in the OpenID Connect Token Store, when an access token is required and the OAuth2 request scope contains 'openid'.
    Since:
    12.0.0
    • Constructor Detail

      • OpenIDTokenIssuer

        @Inject
        public OpenIDTokenIssuer​(OpenIdConnectTokenStore tokenStore,
                                 ResourceOwnerSessionValidator resourceOwnerSessionValidator)
        Constructs a new OpenIDTokenIssuer.
        Parameters:
        tokenStore - An instance of the OpenIdConnectTokenStore.
    • Method Detail

      • getOps

        protected String getOps​(AccessToken accessToken,
                                OAuth2Request request)
        Gets the ops value for the OpenId Token.
        Parameters:
        accessToken - The access token requested by the OAuth2 request.
        request - The OAuth2 request.
        Returns:
        The ops value.