public final class ServerBearerExchangeFilterFunction
extends java.lang.Object
implements org.springframework.web.reactive.function.client.ExchangeFilterFunction
ExchangeFilterFunction that adds the
Bearer Token
from an existing AbstractOAuth2Token tied to the current Authentication.
Suitable for Reactive applications, applying it to a typical WebClient
configuration:
| Constructor and Description |
|---|
ServerBearerExchangeFilterFunction() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> |
filter(org.springframework.web.reactive.function.client.ClientRequest request,
org.springframework.web.reactive.function.client.ExchangeFunction next) |
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> filter(org.springframework.web.reactive.function.client.ClientRequest request,
org.springframework.web.reactive.function.client.ExchangeFunction next)
filter in interface org.springframework.web.reactive.function.client.ExchangeFilterFunction