Class BackChannelDeviceSSOAuthorization
java.lang.Object
com.nimbusds.openid.connect.provider.spi.nativesso.BackChannelDeviceSSOAuthorization
Back-channel device SSO authorisation.
Required authorisation details:
- The authorised scope. Must include the
openid
anddevice_sso
scope values. - An ID token issue must be authorised.
All other parameters are optional or have suitable defaults.
-
Constructor Summary
ConstructorsConstructorDescriptionBackChannelDeviceSSOAuthorization
(com.nimbusds.oauth2.sdk.Scope scope, AccessTokenSpec accessTokenSpec, RefreshTokenSpec refreshTokenSpec, IDTokenSpec idTokenSpec, ClaimsSpec claimsSpec, @Nullable net.minidev.json.JSONObject data) Creates a new Back-channel device SSO authorisation for a subject (end-user). -
Method Summary
Modifier and TypeMethodDescriptionReturns the access token specification.Returns the OpenID claims specification.@Nullable net.minidev.json.JSONObject
getData()
Returns the additional data as a JSON object.Returns the ID token specification.Returns the refresh token specification.com.nimbusds.oauth2.sdk.Scope
getScope()
Returns the authorised scope.
-
Constructor Details
-
BackChannelDeviceSSOAuthorization
public BackChannelDeviceSSOAuthorization(com.nimbusds.oauth2.sdk.Scope scope, AccessTokenSpec accessTokenSpec, RefreshTokenSpec refreshTokenSpec, IDTokenSpec idTokenSpec, ClaimsSpec claimsSpec, @Nullable net.minidev.json.JSONObject data) Creates a new Back-channel device SSO authorisation for a subject (end-user).- Parameters:
scope
- The authorised scope. Must not benull
.accessTokenSpec
- The access token specification. Must not benull
.refreshTokenSpec
- The refresh token specification. Must not benull
.idTokenSpec
- The ID token specification. Must not benull
.claimsSpec
- The OpenID claims specification. Must not benull
.data
- Additional data as a JSON object,null
if not specified.
-
-
Method Details
-
getScope
Returns the authorised scope.- Returns:
- The authorised scope.
-
getAccessTokenSpec
Returns the access token specification.- Returns:
- The access token specification.
-
getRefreshTokenSpec
Returns the refresh token specification.- Returns:
- The refresh token specification.
-
getIDTokenSpec
Returns the ID token specification.- Returns:
- The ID token specification.
-
getClaimsSpec
Returns the OpenID claims specification.- Returns:
- The OpenID claims specification.
-
getData
Returns the additional data as a JSON object.- Returns:
- The additional data,
null
if not specified.
-