public interface AccessTokenAuthorization
Modifier and Type | Method and Description |
---|---|
com.nimbusds.oauth2.sdk.id.Actor |
getActor()
Returns the access token actor, in impersonation and delegation
scenarios.
|
List<com.nimbusds.oauth2.sdk.id.Audience> |
getAudienceList()
Returns the audience list of the access token, which may be the
logical names of the intended resource servers.
|
Set<String> |
getClaimNames()
Returns the names of the consented OpenID claims to be accessed at
the UserInfo endpoint.
|
default net.minidev.json.JSONObject |
getClaimsData()
Returns the optional claims fulfillment data.
|
List<com.nimbusds.langtag.LangTag> |
getClaimsLocales()
Returns the preferred locales for the consented OpenID claims.
|
com.nimbusds.oauth2.sdk.auth.X509CertificateConfirmation |
getClientCertificateConfirmation()
Returns the client X.509 certificate confirmation (SHA-256
thumbprint) for mutual TLS.
|
com.nimbusds.oauth2.sdk.id.ClientID |
getClientID()
Returns the identifier of the client to which the access token is
issued.
|
net.minidev.json.JSONObject |
getData()
Returns the optional data for the access token.
|
Instant |
getExpirationTime()
Returns the expiration time of the access token.
|
com.nimbusds.oauth2.sdk.id.Issuer |
getIssuer()
Returns the issuer of the access token.
|
Instant |
getIssueTime()
Returns the issue time of the access token.
|
com.nimbusds.oauth2.sdk.id.JWTID |
getJWTID()
Returns the JSON Web Token (JWT) identifier of the access token.
|
default com.nimbusds.oauth2.sdk.id.Subject |
getLocalSubject()
Returns the access token local subject.
|
default Map<String,Object> |
getOtherTopLevelParameters()
Returns a map of other top-level parameters.
|
net.minidev.json.JSONObject |
getPresetClaims()
Returns the preset OpenID claims to be included in the UserInfo
response.
|
com.nimbusds.oauth2.sdk.Scope |
getScope()
Returns the scope of the access token.
|
com.nimbusds.oauth2.sdk.id.Subject |
getSubject()
Returns the access token subject.
|
default com.nimbusds.openid.connect.sdk.SubjectType |
getSubjectType()
Returns the access token subject type.
|
com.nimbusds.oauth2.sdk.id.Subject getSubject()
null
if not specified.com.nimbusds.oauth2.sdk.id.Actor getActor()
null
if not specified.com.nimbusds.oauth2.sdk.id.ClientID getClientID()
null
if not specified.com.nimbusds.oauth2.sdk.Scope getScope()
null
if not specified.Instant getExpirationTime()
null
if not specified.Instant getIssueTime()
null
if not specified.com.nimbusds.oauth2.sdk.id.Issuer getIssuer()
null
if not specified.List<com.nimbusds.oauth2.sdk.id.Audience> getAudienceList()
null
if not specified.default com.nimbusds.openid.connect.sdk.SubjectType getSubjectType()
null
if not specified (may imply
public
).default com.nimbusds.oauth2.sdk.id.Subject getLocalSubject()
getSubject()
value unless the subject type
is pairwise.
Use this method if there is a need to get the local (system) subject for an access token which subject was made pairwise for its audience (resource server).
Note, an access token which subject is made pairwise must not have its local subject exposed in introspection responses intended for the token audience!
null
if not specified or for a
pairwise subject type
that
couldn't be reversed.com.nimbusds.oauth2.sdk.id.JWTID getJWTID()
null
if not specified or applicable.Set<String> getClaimNames()
null
if not specified.List<com.nimbusds.langtag.LangTag> getClaimsLocales()
null
if not specified.net.minidev.json.JSONObject getPresetClaims()
null
if not specified.net.minidev.json.JSONObject getData()
null
if not specified.com.nimbusds.oauth2.sdk.auth.X509CertificateConfirmation getClientCertificateConfirmation()
null
if
not specified.default Map<String,Object> getOtherTopLevelParameters()
null
if none.default net.minidev.json.JSONObject getClaimsData()
null
if not specified.Copyright © 2021 Connect2id Ltd.. All rights reserved.