public enum ClaimType extends Enum<ClaimType>
| Enum Constant and Description |
|---|
AGGREGATED
"aggregated" (2). |
DISTRIBUTED
"distributed" (3). |
NORMAL
"normal" (1). |
| Modifier and Type | Method and Description |
|---|---|
static ClaimType |
getByValue(short value)
Find an instance of this enum by a value.
|
short |
getValue()
Get the integer representation of this enum instance.
|
static ClaimType |
parse(String claimType)
Convert
String to ClaimType. |
static ClaimType[] |
toArray(int bits) |
static int |
toBits(EnumSet<ClaimType> set) |
static EnumSet<ClaimType> |
toSet(ClaimType[] array) |
static EnumSet<ClaimType> |
toSet(int bits) |
String |
toString() |
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
"normal" (1).
Claims that are directly asserted by the OpenID Provider.
public static final ClaimType AGGREGATED
"aggregated" (2).
Claims that are asserted by a Claims Provider other than the OpenID Provider but are returned by OpenID Provider.
public static final ClaimType DISTRIBUTED
"distributed" (3).
Claims that are asserted by a Claims Provider other than the OpenID Provider but are returned as references by the OpenID Provider.
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 short getValue()
public static ClaimType getByValue(short value)
value - The integer representation of the instance to find.null if not found.public static ClaimType parse(String claimType)
String to ClaimType.claimType - A claim type. For example, "normal".ClaimType instance, or null.public static ClaimType[] toArray(int bits)
Copyright © 2017. All rights reserved.