Interface ReactiveAccessTokenProviders


  • public interface ReactiveAccessTokenProviders
    The reactive access token providers.
    Author:
    Christian Bremer
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static org.bremersee.security.authentication.AccessTokenProvider<reactor.core.publisher.Mono<String>> fromAuthentication()
      Provider that gets the access token from the authentication.
      static org.bremersee.security.authentication.AccessTokenProvider<reactor.core.publisher.Mono<String>> withAccessTokenRetriever​(org.bremersee.security.authentication.AccessTokenRetriever<reactor.core.publisher.Mono<String>> retriever, org.bremersee.security.authentication.AccessTokenRetrieverProperties properties)
      Provider that retrieves the access token from an OpenId server.
      static org.bremersee.security.authentication.AccessTokenProvider<reactor.core.publisher.Mono<String>> withAccessTokenRetriever​(org.bremersee.security.authentication.AccessTokenRetrieverProperties properties)
      Provider that retrieves the access token from an OpenId server.
    • Method Detail

      • fromAuthentication

        static org.bremersee.security.authentication.AccessTokenProvider<reactor.core.publisher.Mono<String>> fromAuthentication()
        Provider that gets the access token from the authentication.
        Returns:
        the access token provider
      • withAccessTokenRetriever

        static org.bremersee.security.authentication.AccessTokenProvider<reactor.core.publisher.Mono<String>> withAccessTokenRetriever​(org.bremersee.security.authentication.AccessTokenRetrieverProperties properties)
        Provider that retrieves the access token from an OpenId server.
        Parameters:
        properties - the properties
        Returns:
        the access token provider
      • withAccessTokenRetriever

        static org.bremersee.security.authentication.AccessTokenProvider<reactor.core.publisher.Mono<String>> withAccessTokenRetriever​(org.bremersee.security.authentication.AccessTokenRetriever<reactor.core.publisher.Mono<String>> retriever,
                                                                                                                                       org.bremersee.security.authentication.AccessTokenRetrieverProperties properties)
        Provider that retrieves the access token from an OpenId server.
        Parameters:
        retriever - the retriever
        properties - the properties
        Returns:
        the access token provider