Class OAuth2AuthorizationCodeGrantRequest

    • Constructor Detail

      • OAuth2AuthorizationCodeGrantRequest

        public OAuth2AuthorizationCodeGrantRequest​(ClientRegistration clientRegistration,
                                                   org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchange authorizationExchange)
        Constructs an OAuth2AuthorizationCodeGrantRequest using the provided parameters.
        Parameters:
        clientRegistration - the client registration
        authorizationExchange - the authorization exchange
    • Method Detail

      • getAuthorizationExchange

        public org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchange getAuthorizationExchange()
        Returns the authorization exchange.
        Returns:
        the OAuth2AuthorizationExchange