| Package | Description |
|---|---|
| com.nimbusds.oauth2.sdk |
Classes for representing, serialising and parsing OAuth 2.0 client requests
and authorisation server responses.
|
| Modifier and Type | Class and 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 and Description |
|---|---|
AuthorizationGrant |
TokenRequest.getAuthorizationGrant()
Gets the authorisation grant.
|
static AuthorizationGrant |
AuthorizationGrant.parse(java.util.Map<java.lang.String,java.lang.String> params)
Parses an authorisation grant from the specified parameters.
|
| Constructor and Description |
|---|
TokenRequest(java.net.URI uri,
AuthorizationGrant authzGrant)
Creates a new token request, without client authentication and a
specified client identifier.
|
TokenRequest(java.net.URI uri,
AuthorizationGrant authzGrant,
Scope scope)
Creates a new token request, without client authentication and a
specified client identifier.
|
TokenRequest(java.net.URI uri,
ClientAuthentication clientAuth,
AuthorizationGrant authzGrant)
Creates a new token request with the specified client
authentication.
|
TokenRequest(java.net.URI uri,
ClientAuthentication clientAuth,
AuthorizationGrant authzGrant,
Scope scope)
Creates a new token request with the specified client
authentication.
|
TokenRequest(java.net.URI uri,
ClientAuthentication clientAuth,
AuthorizationGrant authzGrant,
Scope scope,
java.util.Map<java.lang.String,java.lang.String> customParams)
Creates a new token request with the specified client
authentication and additional custom parameters.
|
TokenRequest(java.net.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(java.net.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(java.net.URI uri,
ClientID clientID,
AuthorizationGrant authzGrant,
Scope scope,
java.util.Map<java.lang.String,java.lang.String> customParams)
Creates a new token request, with no explicit client authentication
(may be present in the grant depending on its type) and additional
custom parameters.
|
Copyright © 2016 Connect2id Ltd.. All Rights Reserved.