@NotExtensible public final class TokenValidationResult extends java.lang.Object
active
property).Modifier and Type | Class and Description |
---|---|
static class |
TokenValidationResult.Builder
A Builder for TokenValidationResult.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getActive()
Get whether the token is active.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalProperties()
Get any extension properties associated with the token.
|
java.lang.String |
getAudience()
Get the token's intended audience.
|
java.lang.String |
getClientId()
Get the OAuth2 client Id of the client that requested the token.
|
java.lang.Long |
getExpirationTime()
Get the token expiration time in seconds since January 1 1970 UTC.
|
java.lang.Long |
getIssuedAt()
Get the token issue time in seconds since January 1 1970 UTC.
|
java.lang.Long |
getNotUsedBefore()
Get the not used before time in seconds since January 1 1070 UTC.
|
java.util.Set<java.lang.String> |
getScope()
Get the scopes granted to this token.
|
java.lang.String |
getSubjectToken()
Get the token subject as defined in JWT [RFC7519].
|
java.lang.String |
getTokenIdentifier()
Get the unique identifier for this token.
|
java.lang.String |
getTokenType()
Get the token type.
|
java.lang.String |
getUsername()
Get a human-readable user name for the resource owner that authorized
the token.
|
public java.lang.Boolean getActive()
public java.util.Set<java.lang.String> getScope()
public java.lang.String getClientId()
public java.lang.String getUsername()
public java.lang.String getTokenType()
public java.lang.Long getExpirationTime()
public java.lang.Long getIssuedAt()
public java.lang.Long getNotUsedBefore()
public java.lang.String getSubjectToken()
public java.lang.String getAudience()
public java.lang.String getTokenIdentifier()
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()