Class R2dbcReactiveOAuth2AuthorizedClientService.OAuth2AuthorizedClientHolder

    • Constructor Detail

      • OAuth2AuthorizedClientHolder

        public OAuth2AuthorizedClientHolder​(OAuth2AuthorizedClient authorizedClient,
                                            Authentication principal)
        Constructs an OAuth2AuthorizedClientHolder using the provided parameters.
        Parameters:
        authorizedClient - the authorized client
        principal - the End-User Authentication (Resource Owner)
      • OAuth2AuthorizedClientHolder

        public OAuth2AuthorizedClientHolder​(java.lang.String clientRegistrationId,
                                            java.lang.String principalName,
                                            OAuth2AccessToken accessToken,
                                            OAuth2RefreshToken refreshToken)
        Constructs an OAuth2AuthorizedClientHolder using the provided parameters.
        Parameters:
        clientRegistrationId - the client registration id
        principalName - the principal name of the End-User (Resource Owner)
        accessToken - the access token
        refreshToken - the refresh token
    • Method Detail

      • getClientRegistrationId

        public java.lang.String getClientRegistrationId()
      • getPrincipalName

        public java.lang.String getPrincipalName()