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.as |
OAuth 2.0 Authorisation Server (AS) classes.
|
com.nimbusds.oauth2.sdk.client |
OAuth 2.0 dynamic client registration.
|
com.nimbusds.oauth2.sdk.device |
OAuth 2.0 device authorisation grant classes.
|
Modifier and Type | Field | Description |
---|---|---|
static GrantType |
GrantType.AUTHORIZATION_CODE |
Authorisation code.
|
static GrantType |
GrantType.CLIENT_CREDENTIALS |
Client credentials.
|
static GrantType |
GrantType.DEVICE_CODE |
Device Code, as defined in OAuth 2.0 Device Flow for
Browserless and Input Constrained Devices.
|
static GrantType |
AuthorizationCodeGrant.GRANT_TYPE |
The grant type.
|
static GrantType |
ClientCredentialsGrant.GRANT_TYPE |
The grant type.
|
static GrantType |
JWTBearerGrant.GRANT_TYPE |
The grant type.
|
static GrantType |
RefreshTokenGrant.GRANT_TYPE |
The grant type.
|
static GrantType |
ResourceOwnerPasswordCredentialsGrant.GRANT_TYPE |
The grant type.
|
static GrantType |
SAML2BearerGrant.GRANT_TYPE |
The grant type.
|
static GrantType |
GrantType.IMPLICIT |
Implicit.
|
static GrantType |
GrantType.JWT_BEARER |
JWT bearer, as defined in RFC 7523.
|
static GrantType |
GrantType.PASSWORD |
Password.
|
static GrantType |
GrantType.REFRESH_TOKEN |
Refresh token.
|
static GrantType |
GrantType.SAML2_BEARER |
SAML 2.0 bearer, as defined in RFC 7522.
|
Modifier and Type | Method | Description |
---|---|---|
GrantType |
AuthorizationGrant.getType() |
Gets the authorisation grant type.
|
static GrantType |
GrantType.parse(String value) |
Parses a grant type from the specified string.
|
Constructor | Description |
---|---|
AssertionGrant(GrantType type) |
Creates a new assertion-based authorisation grant.
|
AuthorizationGrant(GrantType type) |
Creates a new authorisation grant.
|
Modifier and Type | Method | Description |
---|---|---|
List<GrantType> |
AuthorizationServerMetadata.getGrantTypes() |
Gets the supported OAuth 2.0 grant types.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AuthorizationServerMetadata.setGrantTypes(List<GrantType> gts) |
Sets the supported OAuth 2.0 grant types.
|
Modifier and Type | Method | Description |
---|---|---|
Set<GrantType> |
ClientMetadata.getGrantTypes() |
Gets the expected OAuth 2.0 grant types.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ClientMetadata.setGrantTypes(Set<GrantType> grantTypes) |
Sets the expected OAuth 2.0 grant types.
|
Modifier and Type | Field | Description |
---|---|---|
static GrantType |
DeviceCodeGrant.GRANT_TYPE |
The grant type.
|
Copyright © 2019 Connect2id Ltd.. All rights reserved.