TokenService
Access token service that combines generation and verification, i.e., it is suitable to be used in an implementation of an OAuth 2.0 Authorization Server.
Also implements OAuth 2.0 Token Exchange.
Inheritors
Properties
Functions
Provides information about the access token from authorizationHeader, if it has been issued by generation. Access token needs to be validated before (see TokenVerificationService.validateAccessToken)
OAuth 2.0 Token Exchange: Validate the received token from TokenRequestParameters.subjectToken and issue a fresh access token. Callers need to make sure that the client has been authenticated before calling this method.
Validates the subject token (that is a token sent by a third party) for token exchange) is one issued from TokenGenerationService. Callers need to authenticate the client before calling this method.