Class BearerTokenAuthenticationEncoder
- java.lang.Object
-
- org.springframework.core.codec.AbstractEncoder<BearerTokenMetadata>
-
- org.springframework.security.rsocket.metadata.BearerTokenAuthenticationEncoder
-
- All Implemented Interfaces:
org.springframework.core.codec.Encoder<BearerTokenMetadata>
public class BearerTokenAuthenticationEncoder extends org.springframework.core.codec.AbstractEncoder<BearerTokenMetadata>
Encodes Bearer Authentication.- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description BearerTokenAuthenticationEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer>
encode(org.reactivestreams.Publisher<? extends BearerTokenMetadata> inputStream, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, java.util.Map<java.lang.String,java.lang.Object> hints)
org.springframework.core.io.buffer.DataBuffer
encodeValue(BearerTokenMetadata credentials, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType valueType, org.springframework.util.MimeType mimeType, java.util.Map<java.lang.String,java.lang.Object> hints)
-
Methods inherited from class org.springframework.core.codec.AbstractEncoder
canEncode, getEncodableMimeTypes, getLogger, setLogger
-
-
-
-
Method Detail
-
encode
public reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encode(org.reactivestreams.Publisher<? extends BearerTokenMetadata> inputStream, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, java.util.Map<java.lang.String,java.lang.Object> hints)
-
encodeValue
public org.springframework.core.io.buffer.DataBuffer encodeValue(BearerTokenMetadata credentials, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType valueType, org.springframework.util.MimeType mimeType, java.util.Map<java.lang.String,java.lang.Object> hints)
-
-