|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ClaimType> com.nimbusds.openid.connect.sdk.claims.ClaimType
public enum ClaimType
Enumeration of the claim types. This class is immutable.
Related specifications:
Enum Constant Summary | |
---|---|
AGGREGATED
Claims that are asserted by a claims provider other than the OpenID Connect Provider but are returned by OpenID Connect provider. |
|
DISTRIBUTED
Claims that are asserted by a claims provider other than the OpenID Connect provider but are returned as references by the OpenID Connect provider. |
|
NORMAL
Claims that are directly asserted by the OpenID Connect provider. |
Method Summary | |
---|---|
static ClaimType |
parse(String s)
Parses a claim type. |
String |
toString()
Returns the string identifier of this claim type. |
static ClaimType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ClaimType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ClaimType NORMAL
public static final ClaimType AGGREGATED
public static final ClaimType DISTRIBUTED
Method Detail |
---|
public static ClaimType[] values()
for (ClaimType c : ClaimType.values()) System.out.println(c);
public static ClaimType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ClaimType>
public static ClaimType parse(String s) throws ParseException
s
- The string to parse. Must not be null
.
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |