Interface Claim
-
- All Superinterfaces:
java.io.Serializable
public interface Claim extends java.io.Serializable
This class represents OAuth 2.0 claim.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Get the claim namejava.lang.String
getValue()
Get the claim valuejava.util.List<java.lang.String>
getValues()
Get the claim valuesboolean
isEssential()
Check whether the claim is essential or voluntary
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the claim name- Returns:
- the claim name
-
isEssential
boolean isEssential()
Check whether the claim is essential or voluntary- Returns:
- true when the claim is essential, false otherwise
-
getValue
java.lang.String getValue()
Get the claim value- Returns:
- claim value if any, otherwise null
-
getValues
java.util.List<java.lang.String> getValues()
Get the claim values- Returns:
- claim values if any, otherwise null
-
-