Interface ReactiveOAuth2AuthorizedClientService

    • Method Detail

      • loadAuthorizedClient

        <T extends OAuth2AuthorizedClient> reactor.core.publisher.Mono<T> loadAuthorizedClient​(java.lang.String clientRegistrationId,
                                                                                               java.lang.String principalName)
        Returns the OAuth2AuthorizedClient associated to the provided client registration identifier and End-User's Principal name or null if not available.
        Type Parameters:
        T - a type of OAuth2AuthorizedClient
        Parameters:
        clientRegistrationId - the identifier for the client's registration
        principalName - the name of the End-User Principal (Resource Owner)
        Returns:
        the OAuth2AuthorizedClient or null if not available
      • removeAuthorizedClient

        reactor.core.publisher.Mono<java.lang.Void> removeAuthorizedClient​(java.lang.String clientRegistrationId,
                                                                           java.lang.String principalName)
        Removes the OAuth2AuthorizedClient associated to the provided client registration identifier and End-User's Principal name.
        Parameters:
        clientRegistrationId - the identifier for the client's registration
        principalName - the name of the End-User Principal (Resource Owner)