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>
Since:
5.3
  • Field Summary

    Fields inherited from class org.springframework.core.codec.AbstractEncoder

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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, Map<String,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, Map<String,Object> hints)
     

    Methods inherited from class org.springframework.core.codec.AbstractEncoder

    canEncode, getEncodableMimeTypes, getLogger, setLogger

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.core.codec.Encoder

    getEncodableMimeTypes
  • Constructor Details

    • BearerTokenAuthenticationEncoder

      public BearerTokenAuthenticationEncoder()
  • Method Details

    • 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, Map<String,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, Map<String,Object> hints)