Package com.nimbusds.oauth2.sdk.token
Class TokenTypeURI
java.lang.Object
com.nimbusds.oauth2.sdk.token.TokenTypeURI
- All Implemented Interfaces:
Serializable
Token type URI. A URN used to identify the type of token in a token
exchange. The token type URIs can potentially be used in other contexts.
The standard OAuth URIs are registered at IANA, see https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#uri
- OAuth 2.0 Token Exchange (RFC 8693), section 3.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TokenTypeURIThe token type URI for an OAuth 2.0 access token.static final TokenTypeURIThe token type URI for an OpenID Connect ID Token.static final TokenTypeURIThe token type URI for a JSON Web Token (JWT).static final TokenTypeURIThe token type URI for an OAuth 2.0 refresh token.static final TokenTypeURIThe token type URI for a BASE64URL-encoded SAML 1.1 assertion.static final TokenTypeURIThe token type URI for a BASE64URL-encoded SAML 2.0 assertion. -
Method Summary
-
Field Details
-
ACCESS_TOKEN
The token type URI for an OAuth 2.0 access token. -
REFRESH_TOKEN
The token type URI for an OAuth 2.0 refresh token. -
ID_TOKEN
The token type URI for an OpenID Connect ID Token. -
SAML1
The token type URI for a BASE64URL-encoded SAML 1.1 assertion. -
SAML2
The token type URI for a BASE64URL-encoded SAML 2.0 assertion. -
JWT
The token type URI for a JSON Web Token (JWT).
-
-
Method Details
-
getURI
Returns the URI for this token type.- Returns:
- The URI.
-
parse
Parses a token type URI from the specified string.- Parameters:
uriValue- The URI string value. Must not benull.- Returns:
- The token type URI.
- Throws:
ParseException- If the token type URI value is illegal.
-
toString
-
equals
-
hashCode
-