Class ServerOneTimeTokenAuthenticationConverter
java.lang.Object
org.springframework.security.web.server.authentication.ott.ServerOneTimeTokenAuthenticationConverter
- All Implemented Interfaces:
ServerAuthenticationConverter
public final class ServerOneTimeTokenAuthenticationConverter
extends Object
implements ServerAuthenticationConverter
An implementation of
ServerAuthenticationConverter
for resolving
OneTimeTokenAuthenticationToken
from token parameter.- Since:
- 6.4
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>
convert
(org.springframework.web.server.ServerWebExchange exchange) Converts aServerWebExchange
to anAuthentication
-
Constructor Details
-
ServerOneTimeTokenAuthenticationConverter
public ServerOneTimeTokenAuthenticationConverter()
-
-
Method Details
-
convert
public reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ServerAuthenticationConverter
Converts aServerWebExchange
to anAuthentication
- Specified by:
convert
in interfaceServerAuthenticationConverter
- Parameters:
exchange
- TheServerWebExchange
- Returns:
- A
Mono
representing anAuthentication
-