Package | Description |
---|---|
com.nimbusds.oauth2.sdk |
Classes for representing, serialising and parsing OAuth 2.0 client requests
and authorisation server responses.
|
com.nimbusds.oauth2.sdk.token |
OAuth 2.0 access and refresh token implementations.
|
Modifier and Type | Method and Description |
---|---|
AccessTokenType |
TokenIntrospectionSuccessResponse.getTokenType()
Returns the access token type.
|
Modifier and Type | Method and Description |
---|---|
TokenIntrospectionSuccessResponse.Builder |
TokenIntrospectionSuccessResponse.Builder.tokenType(AccessTokenType tokenType)
Sets the token type.
|
Modifier and Type | Field and Description |
---|---|
static AccessTokenType |
AccessTokenType.BEARER
Bearer, see OAuth 2.0 Bearer Token Usage (RFC 6750).
|
static AccessTokenType |
AccessTokenType.MAC
MAC, see OAuth 2.0 Message Authentication Code (MAC) Tokens
(draft-ietf-oauth-v2-http-mac-05).
|
static AccessTokenType |
AccessTokenType.UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
AccessTokenType |
AccessToken.getType()
Returns the access token type.
|
Constructor and Description |
---|
AccessToken(AccessTokenType type)
Creates a new minimal access token with a randomly generated 256-bit
(32-byte) value, Base64URL-encoded.
|
AccessToken(AccessTokenType type,
int byteLength)
Creates a new minimal access token with a randomly generated value
of the specified byte length, Base64URL-encoded.
|
AccessToken(AccessTokenType type,
int byteLength,
long lifetime,
Scope scope)
Creates a new access token with a randomly generated value
of the specified byte length, Base64URL-encoded, and optional
lifetime and scope.
|
AccessToken(AccessTokenType type,
long lifetime,
Scope scope)
Creates a new access token with a randomly generated 256-bit
(32-byte) value, Base64URL-encoded.
|
AccessToken(AccessTokenType type,
String value)
Creates a new minimal access token with the specified value.
|
AccessToken(AccessTokenType type,
String value,
long lifetime,
Scope scope)
Creates a new access token with the specified value and optional
lifetime and scope.
|
Copyright © 2017 Connect2id Ltd.. All rights reserved.