public static enum Credentials.Type extends Enum<Credentials.Type>
Enum Constant and Description |
---|
CUSTOM
Application-specific credentials.
|
NONE
No credentials are supplied.
|
PLAIN_PASSWORD
A plain-text password, encoded with UTF-8.
|
Modifier and Type | Method and Description |
---|---|
static Credentials.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Credentials.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Credentials.Type NONE
public static final Credentials.Type PLAIN_PASSWORD
public static final Credentials.Type CUSTOM
public static Credentials.Type[] values()
for (Credentials.Type c : Credentials.Type.values()) System.out.println(c);
public static Credentials.Type 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 nullCopyright © 2022 Push Technology Ltd. All Rights Reserved.