-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum LoginBehavior extends Enum<LoginBehavior>
Specifies the behaviors to try during login.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NATIVE_WITH_FALLBACKSpecifies that login should attempt login in using a native app in the Facebook Family of Apps, and if that does not work, fall back to web dialog auth. This is the default behavior.
NATIVE_ONLYSpecifies that login should only attempt to login using a native app in the Facebook Family of Apps. If the native app cannot be used, then the login fails.
KATANA_ONLYSpecifies that login should only attempt to use Katana Proxy Login.
WEB_ONLYSpecifies that only the web dialog auth should be used.
DIALOG_ONLYSpecifies that only the web dialog auth (from anywhere) should be used
DEVICE_AUTHSpecifies that device login authentication flow should be used. Use it via ({@link com.facebook.login.widget.DeviceLoginButton DeviceLoginButton} or ({@link com.facebook.login.DeviceLoginManager DeviceLoginManager} to authenticate.
-
Method Summary
Modifier and Type Method Description final BooleanallowsGetTokenAuth()Note: This getter is for internal only final BooleanallowsKatanaAuth()Note: This getter is for internal only final BooleanallowsWebViewAuth()Note: This getter is for internal only final BooleanallowsDeviceAuth()Note: This getter is for internal only final BooleanallowsCustomTabAuth()Note: This getter is for internal only final BooleanallowsFacebookLiteAuth()Note: This getter is for internal only final BooleanallowsInstagramAppAuth()Note: This getter is for internal only final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
allowsGetTokenAuth
final Boolean allowsGetTokenAuth()
Note: This getter is for internal only
-
allowsKatanaAuth
final Boolean allowsKatanaAuth()
Note: This getter is for internal only
-
allowsWebViewAuth
final Boolean allowsWebViewAuth()
Note: This getter is for internal only
-
allowsDeviceAuth
final Boolean allowsDeviceAuth()
Note: This getter is for internal only
-
allowsCustomTabAuth
final Boolean allowsCustomTabAuth()
Note: This getter is for internal only
-
allowsFacebookLiteAuth
final Boolean allowsFacebookLiteAuth()
Note: This getter is for internal only
-
allowsInstagramAppAuth
final Boolean allowsInstagramAppAuth()
Note: This getter is for internal only
-
getOrdinal
final Integer getOrdinal()
-
-
-
-