public static enum Client.ClientType extends Enum<Client.ClientType>
Enum Constant and Description |
---|
CONFIDENTIAL
Confidential Client Type.
|
PUBLIC
Public Client Type.
|
Modifier and Type | Method and Description |
---|---|
static Client.ClientType |
fromString(String type)
Gets the client type from a String.
|
String |
getType()
Gets the client type.
|
String |
toString() |
static Client.ClientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Client.ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.ClientType CONFIDENTIAL
public static final Client.ClientType PUBLIC
public static Client.ClientType[] values()
for (Client.ClientType c : Client.ClientType.values()) System.out.println(c);
public static Client.ClientType 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 String getType()
public static Client.ClientType fromString(String type)
type
- The String to translate into a client type.public String toString()
toString
in class Enum<Client.ClientType>
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.