Package | Description |
---|---|
com.nimbusds.openid.connect.provider.spi.grants |
OAuth 2.0 authorisation grant handler SPIs.
|
Modifier and Type | Field and Description |
---|---|
static RefreshTokenSpec |
RefreshTokenSpec.DEFAULT
Default refresh token specification (no issue).
|
Modifier and Type | Method and Description |
---|---|
RefreshTokenSpec |
PasswordGrantAuthorization.getRefreshTokenSpec()
Returns the refresh token specification.
|
static RefreshTokenSpec |
RefreshTokenSpec.parse(net.minidev.json.JSONObject o)
Parses a refresh token specification from the specified JSON object.
|
Constructor and Description |
---|
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.
|
Copyright © 2020 Connect2id Ltd.. All rights reserved.