public interface AdvancedClaimsSource extends CommonClaimsSource
basic interface
. Implementations must be thread-safe.
Claims sources can be:
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
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. Must not be
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 © 2019 Connect2id Ltd.. All rights reserved.