@ThreadSafe public interface AdvancedClaimsSource extends CommonClaimsSource
basic interface
. Implementations must be thread-safe.
Claims sources can be:
Modifier and Type | Field and Description |
---|---|
static String |
VERIFIED_CLAIM_NAME_PREFIX
The
verified: prefix for names of verified claims. |
Modifier and Type | Method and Description |
---|---|
com.nimbusds.openid.connect.sdk.claims.UserInfo |
getClaims(com.nimbusds.oauth2.sdk.id.Subject subject,
Set<String> claims,
List<com.nimbusds.langtag.LangTag> claimsLocales,
ClaimsSourceRequestContext requestContext)
Requests claims for the specified subject.
|
init, isEnabled, shutdown
supportedClaims
static final String VERIFIED_CLAIM_NAME_PREFIX
verified:
prefix for names of verified claims.com.nimbusds.openid.connect.sdk.claims.UserInfo getClaims(com.nimbusds.oauth2.sdk.id.Subject subject, Set<String> claims, List<com.nimbusds.langtag.LangTag> claimsLocales, ClaimsSourceRequestContext requestContext) throws Exception
subject
- The subject. Must not be null
.claims
- The names of the requested claims, with
optional language tags. The names of verified
claims (OpenID Connect for Identity Assurance
1.0) are prefixed with "verified:". Not
null
.claimsLocales
- The preferred languages and scripts for the
claims to return, null
if not
specified.requestContext
- Provides access to additional parameters
about the request. Not null
.null
if the subject wasn't found or the
claims source is disabled
.Exception
- If retrieval of the claims failed.Copyright © 2021 Connect2id Ltd.. All rights reserved.