public enum LoginMethod extends java.lang.Enum<LoginMethod>
Enum Constant and Description |
---|
APPLE_OAUTH |
FIRST_PARTY_TOKEN_EXCHANGE |
GOOGLE_OAUTH |
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
PASSWORD |
QR_CODE |
SAML |
TWO_FACTOR_AUTHENTICATION |
WEB_SESSION |
Modifier and Type | Method and Description |
---|---|
static LoginMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginMethod PASSWORD
public static final LoginMethod TWO_FACTOR_AUTHENTICATION
public static final LoginMethod SAML
public static final LoginMethod GOOGLE_OAUTH
public static final LoginMethod WEB_SESSION
public static final LoginMethod QR_CODE
public static final LoginMethod APPLE_OAUTH
public static final LoginMethod FIRST_PARTY_TOKEN_EXCHANGE
public static final LoginMethod OTHER
Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
public static LoginMethod[] values()
for (LoginMethod c : LoginMethod.values()) System.out.println(c);
public static LoginMethod 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