Contents
Class JWTValidator.IdentityTokenClaims
java.lang.Object
com.hypixel.hytale.server.core.auth.JWTValidator.IdentityTokenClaims
- Enclosing class:
JWTValidator
Parsed and validated identity token claims (from launcher).
Unlike access tokens, identity tokens don't have cert binding or audience.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the scopes as an array.Parses the subject claim as a UUID.booleanChecks if this token has the specified scope.
-
Field Details
-
issuer
-
subject
-
username
-
entitlements
-
skin
-
issuedAt
-
expiresAt
-
notBefore
-
scope
-
-
Constructor Details
-
IdentityTokenClaims
public IdentityTokenClaims()
-
-
Method Details
-
getSubjectAsUUID
Parses the subject claim as a UUID. -
getScopes
Returns the scopes as an array. -
hasScope
Checks if this token has the specified scope. -
toLogSummary
-