public static enum Credentials.Type extends java.lang.Enum<Credentials.Type>
| Enum Constant and Description |
|---|
CUSTOM
Not implemented in R5
|
NONE
No authentication.
|
PROJECT_RSA
Legacy authentication mechanism for standalone projects.
|
SERVER_RSA
Authentication using digest and signature verification.
|
USER_PASSWORD
Authenticates using a user/password tuple.
|
| Modifier and Type | Method and Description |
|---|---|
static Credentials.Type |
valueOf(java.lang.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 USER_PASSWORD
Required parameters:
Optional parameters:
public static final Credentials.Type PROJECT_RSA
public static final Credentials.Type SERVER_RSA
Required parameters:
Optional parameters Credentials.Builder.addUserOptions(String, Object) (not implemented yet):
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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null