Serializable
, Comparable<ClaimType>
public enum ClaimType extends Enum<ClaimType>
Related specifications:
Enum Constant | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static final ClaimType NORMAL
public static final ClaimType AGGREGATED
public static final ClaimType DISTRIBUTED
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 nameNullPointerException
- if the argument is nullpublic static ClaimType parse(String s) throws ParseException
s
- The string to parse. Must not be null
.ParseException
- If parsing failed.Copyright © 2018 Connect2id Ltd.. All rights reserved.