public class JWTToken extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNT_RESOURCE |
protected static org.slf4j.Logger |
logger |
protected static org.slf4j.Logger logger
public static final String ACCOUNT_RESOURCE
public String getRaw()
public String getAccessTokenString()
public String getRefreshTokenString()
@Deprecated public String getAsBearer()
getAccessTokenAsBearer() method insteadpublic String getAccessTokenAsBearer()
public org.json.simple.JSONObject getPayload()
public String getAzp()
public Long getExp()
public Date getExpAsDate()
public Calendar getExpAsCalendar()
public boolean isExpired()
public String getJti()
public String getSub()
public String getEmail()
public String getFamily()
public String getGiven()
public String getUserName()
public String getDisplayName()
protected org.json.simple.JSONObject getResourceAccess()
public Map<String,List<String>> getResourceNameToAccessRolesMap(List<String> resourcesToSkip)
protected org.json.simple.JSONArray getAuthorizationPermissions()
public List<String> getAuthorizationPermissionRSNameResourceScopes(String rsname)
public Map<String,List<String>> getAuthorizationPermissionRSNameToResourceScopesMap()
public String getTokenEssentials()
Copyright © 2022. All Rights Reserved.