Package org.forgerock.oauth2.core
Class UserInfoClaims
java.lang.Object
org.forgerock.oauth2.core.UserInfoClaims
Simple bean that contains the values of claims, and the scopes that
provisioned them (if any).
- Since:
- 13.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UserInfoClaims
Constructor for a new UserInfoClaims object.- Parameters:
values- Map of values of claims.compositeScopes- Map of composite scopes.
-
-
Method Details
-
getValues
Gets the values of the claims for the user information.- Returns:
- A map of claim names to values, which may be
Strings orMaps.
-
getCompositeScopes
For claims that are provisioned by composite scopes, this will contain the mapping of scope name to a list of claim names.- Returns:
- A map of scope names to lists of claim names.
-