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.device |
OAuth 2.0 device authorisation grant classes.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AssertionGrant |
Assertion grant.
|
class |
AuthorizationCodeGrant |
Authorisation code grant.
|
class |
ClientCredentialsGrant |
Client credentials grant.
|
class |
JWTBearerGrant |
JWT bearer grant.
|
class |
RefreshTokenGrant |
Refresh token grant.
|
class |
ResourceOwnerPasswordCredentialsGrant |
Resource owner password credentials grant.
|
class |
SAML2BearerGrant |
SAML 2.0 bearer grant.
|
Modifier and Type | Method | Description |
---|---|---|
AuthorizationGrant |
TokenRequest.getAuthorizationGrant() |
Returns the authorisation grant.
|
static AuthorizationGrant |
AuthorizationGrant.parse(Map<String,List<String>> params) |
Parses an authorisation grant from the specified request body
parameters.
|
Constructor | Description |
---|---|
TokenRequest(URI uri,
ClientAuthentication clientAuth,
AuthorizationGrant authzGrant) |
Creates a new token request with the specified client
authentication.
|
TokenRequest(URI uri,
ClientAuthentication clientAuth,
AuthorizationGrant authzGrant,
Scope scope) |
Creates a new token request with the specified client
authentication.
|
TokenRequest(URI uri,
ClientAuthentication clientAuth,
AuthorizationGrant authzGrant,
Scope scope,
List<URI> resources,
Map<String,List<String>> customParams) |
Creates a new token request with the specified client
authentication and extension and custom parameters.
|
TokenRequest(URI uri,
AuthorizationGrant authzGrant) |
Creates a new token request, without client authentication and a
specified client identifier.
|
TokenRequest(URI uri,
AuthorizationGrant authzGrant,
Scope scope) |
Creates a new token request, without client authentication and a
specified client identifier.
|
TokenRequest(URI uri,
ClientID clientID,
AuthorizationGrant authzGrant) |
Creates a new token request, with no explicit client authentication
(may be present in the grant depending on its type).
|
TokenRequest(URI uri,
ClientID clientID,
AuthorizationGrant authzGrant,
Scope scope) |
Creates a new token request, with no explicit client authentication
(may be present in the grant depending on its type).
|
TokenRequest(URI uri,
ClientID clientID,
AuthorizationGrant authzGrant,
Scope scope,
List<URI> resources,
RefreshToken existingGrant,
Map<String,List<String>> customParams) |
Creates a new token request, with no explicit client authentication
(may be present in the grant depending on its type) and extension
and custom parameters.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DeviceCodeGrant |
Device code grant for the OAuth 2.0 Device Authorization Grant.
|
Copyright © 2019 Connect2id Ltd.. All rights reserved.