Interface AccessTokenService


  • public interface AccessTokenService
    Access token service is responsible for serving up OAuth2 access tokens along with its contextual data, based on the request having been passed. The intent of the service is to expose an API for AM to be able to retrieve access tokens internally. This service assumes the client credentials grant type as it best fits the intent.
    Since:
    7.0.0
    • Method Detail

      • handle

        AccessTokenResponse handle​(AccessTokenRequest request)
        Handles the passed access token request in order to produce an access token response.
        Parameters:
        request - the access token request
        Returns:
        the access token response
        Throws:
        AccessTokenException - on failing to get an access token