public interface ClaimsSourceRequestContext extends InvocationContext
Modifier and Type | Method and Description |
---|---|
net.minidev.json.JSONObject |
getClaimsData()
Returns the optional claims fulfillment data.
|
com.nimbusds.openid.connect.sdk.claims.ClaimsTransport |
getClaimsTransport()
Returns the claims transport, if applicable.
|
com.nimbusds.oauth2.sdk.id.ClientID |
getClientID()
Returns the identifier of the OAuth 2.0 client (client_id).
|
String |
getClientIPAddress()
Returns the client IP address.
|
com.nimbusds.oauth2.sdk.token.AccessToken |
getUserInfoAccessToken()
Returns the received and successfully validated UserInfo access
token for the claims request.
|
getIssuer
com.nimbusds.openid.connect.sdk.claims.ClaimsTransport getClaimsTransport()
UserInfo
or
ID token
, null
if
the claims source SPI is invoked for another purpose (e.g.
in a TokenEncoderContext
).net.minidev.json.JSONObject getClaimsData()
null
if not specified.com.nimbusds.oauth2.sdk.id.ClientID getClientID()
null
.String getClientIPAddress()
null
if not available.com.nimbusds.oauth2.sdk.token.AccessToken getUserInfoAccessToken()
The claims source may use the UserInfo access token for the retrieval of aggregated and distributed claims, where the same token is recognised by the upstream claims providers. See OpenID Connect Core 1.0, section 5.6.
null
if the claims
request wasn't triggered by a UserInfo request.Copyright © 2020 Connect2id Ltd.. All rights reserved.