public enum LoginBehavior extends java.lang.Enum<LoginBehavior>
| Enum Constant and Description |
|---|
DEVICE_AUTH
Specifies that device login authentication flow should be used.
|
DIALOG_ONLY
Specifies that only the web dialog auth (from anywhere) should be used
|
KATANA_ONLY
Specifies that login should only attempt to use Katana Proxy Login.
|
NATIVE_ONLY
Specifies that login should only attempt to login using the Facebook App.
|
NATIVE_WITH_FALLBACK
Specifies that login should attempt login in using the Facebook App, and if that does not work
fall back to web dialog auth.
|
WEB_ONLY
Specifies that only the web dialog auth should be used.
|
WEB_VIEW_ONLY
Specifies that only the web view dialog auth should be used.
|
| Modifier and Type | Method and Description |
|---|---|
static LoginBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginBehavior NATIVE_WITH_FALLBACK
public static final LoginBehavior NATIVE_ONLY
public static final LoginBehavior KATANA_ONLY
public static final LoginBehavior WEB_ONLY
public static final LoginBehavior WEB_VIEW_ONLY
public static final LoginBehavior DIALOG_ONLY
public static final LoginBehavior DEVICE_AUTH
DeviceLoginButton or (DeviceLoginManager to authenticate.public static LoginBehavior[] values()
for (LoginBehavior c : LoginBehavior.values()) System.out.println(c);
public static LoginBehavior 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