Class JwtBearerGrantTypeHandler

    • Constructor Detail

      • JwtBearerGrantTypeHandler

        public JwtBearerGrantTypeHandler​(SecretReference<GenericSecret> jwtReference,
                                         String clientId,
                                         Collection<String> scope)
        Constructs the handler with the given source of JWTs, for the given client and scope.
        Parameters:
        jwtReference - the reference to retrieve fresh JWT bearer grant authorizations from.
        clientId - the ID of the client. May be null.
        scope - the scope of the requested access token.
      • JwtBearerGrantTypeHandler

        public JwtBearerGrantTypeHandler​(SecretReference<GenericSecret> jwtReference,
                                         Collection<String> scope)
        Constructs the handler with the given source of JWTs, for the given scope.
        Parameters:
        jwtReference - the reference to retrieve fresh JWT bearer grant authorizations from.
        scope - the scope of the requested access token.
      • JwtBearerGrantTypeHandler

        public JwtBearerGrantTypeHandler​(SecretReference<GenericSecret> jwtReference)
        Constructs the handler with the given source of JWTs.
        Parameters:
        jwtReference - the reference to retrieve fresh JWT bearer grant authorizations from.