-
- 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_FALLBACK
Specifies 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_ONLY
Specifies 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_ONLY
Specifies that login should only attempt to use Katana Proxy Login.
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.
DIALOG_ONLY
Specifies that only the web dialog auth (from anywhere) should be used
DEVICE_AUTH
Specifies 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 Boolean
allowsGetTokenAuth()
Note: This getter is for internal only final Boolean
allowsKatanaAuth()
Note: This getter is for internal only final Boolean
allowsWebViewAuth()
Note: This getter is for internal only final Boolean
allowsDeviceAuth()
Note: This getter is for internal only final Boolean
allowsCustomTabAuth()
Note: This getter is for internal only final Boolean
allowsFacebookLiteAuth()
Note: This getter is for internal only final Boolean
allowsInstagramAppAuth()
Note: This getter is for internal only final String
getName()
final Integer
getOrdinal()
-
-
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()
-
-
-
-