Class BearerPayloadExchangeConverter
java.lang.Object
org.springframework.security.rsocket.authentication.BearerPayloadExchangeConverter
- All Implemented Interfaces:
PayloadExchangeAuthenticationConverter
public class BearerPayloadExchangeConverter
extends Object
implements PayloadExchangeAuthenticationConverter
Converts from the
PayloadExchange
to a BearerTokenAuthenticationToken
by extracting BearerTokenMetadata.BEARER_AUTHENTICATION_MIME_TYPE
from the
metadata.- Since:
- 5.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>
convert
(PayloadExchange exchange)
-
Constructor Details
-
BearerPayloadExchangeConverter
public BearerPayloadExchangeConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfacePayloadExchangeAuthenticationConverter
-