Package org.forgerock.openidconnect
Class Claim
- java.lang.Object
-
- org.forgerock.openidconnect.Claim
-
@SupportedAll public class Claim extends Object
Models an OpenID Connect claim that has been requested in an authorize request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Claim.ClaimBuilder
Builder to keep this immutable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asMap()
String
getLocale()
Get the locale of this claim.String
getName()
Gets the name of this claim.List<Object>
getValues()
Get the value(s) of this claim.boolean
isEssential()
Get whether the claim is essential.String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Gets the name of this claim.- Returns:
- Claim name.
-
getLocale
public String getLocale()
Get the locale of this claim.- Returns:
- Claim's locale.
-
isEssential
public boolean isEssential()
Get whether the claim is essential.- Returns:
- Whether the claim is essential.
-
-