@ThreadSafe public interface ClaimsSource extends CommonClaimsSource
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)
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) 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.null
if the subject wasn't found or the
claims source is disabled
.Exception
- If retrieval of the claims failed.Copyright © 2020 Connect2id Ltd.. All rights reserved.