@Contract(threading=IMMUTABLE) public class BearerToken extends Object implements Credentials, Serializable
Credentials usually representing a set of claims, often encrypted
or signed. The JWT (JSON Web Token) is among most widely used tokens used at the time
of writing.| 构造器和说明 |
|---|
BearerToken(String token) |
public BearerToken(String token)
public Principal getUserPrincipal()
getUserPrincipal 在接口中 Credentials@Deprecated public char[] getPassword()
getPassword 在接口中 Credentialspublic String getToken()
Copyright © 2023. All rights reserved.