Package | Description |
---|---|
com.nimbusds.openid.connect.provider.spi.grants |
OAuth 2.0 authorisation grant handler SPIs.
|
Modifier and Type | Field and Description |
---|---|
static AccessTokenSpec |
AccessTokenSpec.DEFAULT
Default access token specification.
|
Modifier and Type | Method and Description |
---|---|
AccessTokenSpec |
GrantAuthorization.getAccessTokenSpec()
Returns the access token specification.
|
static AccessTokenSpec |
AccessTokenSpec.parse(net.minidev.json.JSONObject jsonObject)
Parses an access token specification from the specified JSON object.
|
Constructor and Description |
---|
GrantAuthorization(com.nimbusds.oauth2.sdk.Scope scope,
AccessTokenSpec accessTokenSpec,
net.minidev.json.JSONObject data)
Creates a new basic authorisation.
|
GrantAuthorization(com.nimbusds.oauth2.sdk.Scope scope,
List<com.nimbusds.oauth2.sdk.id.Audience> audList,
AccessTokenSpec accessTokenSpec,
net.minidev.json.JSONObject data)
Creates a new basic authorisation.
|
PasswordGrantAuthorization(com.nimbusds.oauth2.sdk.id.Subject subject,
Date authTime,
com.nimbusds.openid.connect.sdk.claims.ACR acr,
List<com.nimbusds.openid.connect.sdk.claims.AMR> amrList,
com.nimbusds.oauth2.sdk.Scope scope,
List<com.nimbusds.oauth2.sdk.id.Audience> audList,
boolean longLived,
AccessTokenSpec accessTokenSpec,
RefreshTokenSpec refreshTokenSpec,
IDTokenSpec idTokenSpec,
ClaimsSpec claimsSpec,
net.minidev.json.JSONObject data)
Creates a new OpenID Connect / OAuth 2.0 authorisation for a
password grant.
|
PasswordGrantAuthorization(com.nimbusds.oauth2.sdk.id.Subject subject,
com.nimbusds.oauth2.sdk.Scope scope,
boolean longLived,
AccessTokenSpec accessTokenSpec,
RefreshTokenSpec refreshTokenSpec,
IDTokenSpec idTokenSpec,
ClaimsSpec claimsSpec,
net.minidev.json.JSONObject data)
Creates a new OpenID Connect / OAuth 2.0 authorisation for a
password grant.
|
PasswordGrantAuthorization(com.nimbusds.oauth2.sdk.id.Subject subject,
com.nimbusds.oauth2.sdk.Scope scope,
List<com.nimbusds.oauth2.sdk.id.Audience> audList,
boolean longLived,
AccessTokenSpec accessTokenSpec,
RefreshTokenSpec refreshTokenSpec,
net.minidev.json.JSONObject data)
Creates a new OAuth 2.0 - only authorisation for a password grant.
|
SelfIssuedAssertionAuthorization(com.nimbusds.oauth2.sdk.id.ClientID subject,
com.nimbusds.oauth2.sdk.Scope scope,
AccessTokenSpec accessTokenSpec,
net.minidev.json.JSONObject data)
Creates a new authorisation for a self-issued assertion grant where
the client acts on its own behalf.
|
SelfIssuedAssertionAuthorization(com.nimbusds.oauth2.sdk.id.Subject subject,
com.nimbusds.oauth2.sdk.Scope scope,
AccessTokenSpec accessTokenSpec,
IDTokenSpec idTokenSpec,
ClaimsSpec claimsSpec,
net.minidev.json.JSONObject data)
Creates a new authorisation for a self-issued assertion grant where
the client acts on behalf of a user.
|
SubjectAuthorization(com.nimbusds.oauth2.sdk.id.Subject subject,
com.nimbusds.oauth2.sdk.Scope scope,
AccessTokenSpec accessTokenSpec,
IDTokenSpec idTokenSpec,
ClaimsSpec claimsSpec,
net.minidev.json.JSONObject data)
Creates a new authorisation for the specified subject.
|
ThirdPartyAssertionAuthorization(com.nimbusds.oauth2.sdk.id.ClientID subject,
com.nimbusds.oauth2.sdk.Scope scope,
AccessTokenSpec accessTokenSpec,
net.minidev.json.JSONObject data)
Creates a new authorisation for a third-party issued assertion grant
where the client acts on its own behalf.
|
ThirdPartyAssertionAuthorization(com.nimbusds.oauth2.sdk.id.Subject subject,
com.nimbusds.oauth2.sdk.id.ClientID clientID,
com.nimbusds.oauth2.sdk.Scope scope,
AccessTokenSpec accessTokenSpec,
IDTokenSpec idTokenSpec,
ClaimsSpec claimsSpec,
net.minidev.json.JSONObject data)
Creates a new authorisation for a third-party issued assertion grant
where the client acts on behalf of a user.
|
Copyright © 2021 Connect2id Ltd.. All rights reserved.