Class BearerTokenMetadata
- java.lang.Object
-
- org.springframework.security.rsocket.metadata.BearerTokenMetadata
-
public class BearerTokenMetadata extends java.lang.Object
Represents a bearer token that has been encoded into aPayload#metadata()
.- Since:
- 5.2
-
-
Field Summary
Fields Modifier and Type Field Description static org.springframework.util.MimeType
BEARER_AUTHENTICATION_MIME_TYPE
Deprecated.Basic did not evolve into the standard.
-
Constructor Summary
Constructors Constructor Description BearerTokenMetadata(java.lang.String token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getToken()
-
-
-
Field Detail
-
BEARER_AUTHENTICATION_MIME_TYPE
@Deprecated public static final org.springframework.util.MimeType BEARER_AUTHENTICATION_MIME_TYPE
Deprecated.Basic did not evolve into the standard. Instead use Simple Authentication MimeTypeUtils.parseMimeType(WellKnownMimeType.MESSAGE_RSOCKET_AUTHENTICATION.getString())Represents a bearer token which is encoded as a String. See rsocket/rsocket#272
-
-