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
Represents a bearer token which is encoded as a String.
-
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
public static final org.springframework.util.MimeType BEARER_AUTHENTICATION_MIME_TYPE
Represents a bearer token which is encoded as a String. See rsocket/rsocket#272
-
-