Interface TypedToken
- All Superinterfaces:
Token
Represents a token with a specific type URI. Such tokens are used in the Token Exchange flow.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final URIIndicates that the token is an OAuth 2.0 access token.static final URIIndicates that the token is an OpenID Core ID Token.static final URIIndicates that the token is a JWT.static final URIIndicates that the token is an OAuth 2.0 refresh token.static final URIIndicates that the token is a base64url-encoded SAML 1.1 assertion.static final URIIndicates that the token is a base64url-encoded SAML 2.0 assertion. -
Method Summary
Modifier and TypeMethodDescriptionThe type of the token.static TypedTokenstatic TypedTokenof(AccessToken accessToken) static TypedTokenMethods inherited from interface org.projectnessie.client.auth.oauth2.Token
getExpirationTime, getPayload
-
Field Details
-
URN_ACCESS_TOKEN
Indicates that the token is an OAuth 2.0 access token. -
URN_REFRESH_TOKEN
Indicates that the token is an OAuth 2.0 refresh token. -
URN_ID_TOKEN
Indicates that the token is an OpenID Core ID Token. -
URN_SAML1
Indicates that the token is a base64url-encoded SAML 1.1 assertion. -
URN_SAML2
Indicates that the token is a base64url-encoded SAML 2.0 assertion. -
URN_JWT
Indicates that the token is a JWT.
-
-
Method Details
-
getTokenType
URI getTokenType()The type of the token. -
of
-
of
-
of
-