public enum ClientRegistrationType extends Enum<ClientRegistrationType>
client_registration_types RP metadata and the
client_registration_types_supported OP metadata that are defined in
OpenID Connect Federation 1.0.| Enum Constant and Description |
|---|
AUTOMATIC
"automatic" (1). |
EXPLICIT
"explicit" (2). |
| Modifier and Type | Method and Description |
|---|---|
static ClientRegistrationType |
getByValue(short value)
Find an instance of this enum by a value.
|
short |
getValue()
Get the integer representation of this enum instance.
|
static ClientRegistrationType |
parse(String clientRegistrationType)
Convert
String to ClientRegistrationType. |
static ClientRegistrationType[] |
toArray(int bits) |
static int |
toBits(EnumSet<ClientRegistrationType> set) |
static EnumSet<ClientRegistrationType> |
toSet(ClientRegistrationType[] array) |
static EnumSet<ClientRegistrationType> |
toSet(int bits) |
String |
toString() |
static ClientRegistrationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientRegistrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientRegistrationType AUTOMATIC
"automatic" (1).public static final ClientRegistrationType EXPLICIT
"explicit" (2).public static ClientRegistrationType[] values()
for (ClientRegistrationType c : ClientRegistrationType.values()) System.out.println(c);
public static ClientRegistrationType 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 String toString()
toString in class Enum<ClientRegistrationType>public static ClientRegistrationType getByValue(short value)
value - The integer representation of the instance to find.null if not found.public static ClientRegistrationType parse(String clientRegistrationType)
String to ClientRegistrationType.clientRegistrationType - A client registration type. For example, "automatic".ClientRegistrationType instance, or null.public static int toBits(EnumSet<ClientRegistrationType> set)
public static ClientRegistrationType[] toArray(int bits)
public static EnumSet<ClientRegistrationType> toSet(int bits)
public static EnumSet<ClientRegistrationType> toSet(ClientRegistrationType[] array)
Copyright © 2022. All rights reserved.