Interface ReactiveAuthenticationOperations<A extends org.springframework.security.core.Authentication>
- Type Parameters:
A- the type parameter
- All Known Implementing Classes:
ReactiveAuthenticationTemplate
public interface ReactiveAuthenticationOperations<A extends org.springframework.security.core.Authentication>
The reactive normalized authentication operations.
- Author:
- Christian Bremer
-
Method Summary
Modifier and TypeMethodDescription<R> reactor.core.publisher.Flux<R> manyWithAuthentication(@NonNull Function<A, ? extends org.reactivestreams.Publisher<R>> function) Many with authentication.<R> reactor.core.publisher.Flux<R> manyWithOptionalAuthentication(@NonNull Function<@Nullable A, ? extends org.reactivestreams.Publisher<R>> function) Many with optional authentication flux.<R> reactor.core.publisher.Mono<R> oneWithAuthentication(@NonNull Function<A, ? extends reactor.core.publisher.Mono<R>> function) One with authentication.<R> reactor.core.publisher.Mono<R> oneWithOptionalAuthentication(@NonNull Function<@Nullable A, ? extends reactor.core.publisher.Mono<R>> function) One with optional authentication mono.
-
Method Details
-
oneWithAuthentication
<R> reactor.core.publisher.Mono<R> oneWithAuthentication(@NonNull Function<A, ? extends reactor.core.publisher.Mono<R>> function) One with authentication.- Type Parameters:
R- the type parameter- Parameters:
function- the function- Returns:
- the mono
-
oneWithOptionalAuthentication
<R> reactor.core.publisher.Mono<R> oneWithOptionalAuthentication(@NonNull Function<@Nullable A, ? extends reactor.core.publisher.Mono<R>> function) One with optional authentication mono.- Type Parameters:
R- the type parameter- Parameters:
function- the function- Returns:
- the mono
-
manyWithAuthentication
<R> reactor.core.publisher.Flux<R> manyWithAuthentication(@NonNull Function<A, ? extends org.reactivestreams.Publisher<R>> function) Many with authentication.- Type Parameters:
R- the type parameter- Parameters:
function- the function- Returns:
- the flux
-
manyWithOptionalAuthentication
<R> reactor.core.publisher.Flux<R> manyWithOptionalAuthentication(@NonNull Function<@Nullable A, ? extends org.reactivestreams.Publisher<R>> function) Many with optional authentication flux.- Type Parameters:
R- the type parameter- Parameters:
function- the function- Returns:
- the flux
-