Interface ReactiveAccessTokenProviders
-
public interface ReactiveAccessTokenProviders
The reactive access token providers.- Author:
- Christian Bremer
-
-
Method Summary
Static Methods Modifier and Type Method Description static AccessTokenProvider<reactor.core.publisher.Mono<String>>
fromAuthentication()
Provider that gets the access token from the authentication.static AccessTokenProvider<reactor.core.publisher.Mono<String>>
withAccessTokenRetriever(AccessTokenRetriever<reactor.core.publisher.Mono<String>> retriever, AccessTokenRetrieverProperties properties)
Provider that retrieves the access token from an OpenId server.static AccessTokenProvider<reactor.core.publisher.Mono<String>>
withAccessTokenRetriever(AccessTokenRetrieverProperties properties)
Provider that retrieves the access token from an OpenId server.
-
-
-
Method Detail
-
fromAuthentication
static AccessTokenProvider<reactor.core.publisher.Mono<String>> fromAuthentication()
Provider that gets the access token from the authentication.- Returns:
- the access token provider
-
withAccessTokenRetriever
static AccessTokenProvider<reactor.core.publisher.Mono<String>> withAccessTokenRetriever(AccessTokenRetrieverProperties properties)
Provider that retrieves the access token from an OpenId server.- Parameters:
properties
- the properties- Returns:
- the access token provider
-
withAccessTokenRetriever
static AccessTokenProvider<reactor.core.publisher.Mono<String>> withAccessTokenRetriever(AccessTokenRetriever<reactor.core.publisher.Mono<String>> retriever, AccessTokenRetrieverProperties properties)
Provider that retrieves the access token from an OpenId server.- Parameters:
retriever
- the retrieverproperties
- the properties- Returns:
- the access token provider
-
-