Class NimbusAuthorizationCodeTokenResponseClient

    • Constructor Detail

      • NimbusAuthorizationCodeTokenResponseClient

        public NimbusAuthorizationCodeTokenResponseClient()
        Deprecated.
    • Method Detail

      • getTokenResponse

        public org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse getTokenResponse​(OAuth2AuthorizationCodeGrantRequest authorizationGrantRequest)
        Deprecated.
        Description copied from interface: OAuth2AccessTokenResponseClient
        Exchanges the authorization grant credential, provided in the authorization grant request, for an access token credential at the Authorization Server's Token Endpoint.
        Specified by:
        getTokenResponse in interface OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>
        Parameters:
        authorizationGrantRequest - the authorization grant request that contains the authorization grant credential
        Returns:
        an OAuth2AccessTokenResponse that contains the access token credential