Android SDK Version
All Implemented Interfaces:
java.io.Serializable , kotlin.Comparable


public enum LoginBehavior
extends Enum<LoginBehavior>
                    
Specifies the behaviors to try during login.
Field Summary
Modifier and TypeFieldDescription
private final Stringname
private final Integerordinal
Enum Constant Summary
Enum ConstantDescription
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.
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 TypeMethodDescription
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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

allowsGetTokenAuth

 final BooleanallowsGetTokenAuth()
Note: This getter is for internal only

allowsKatanaAuth

 final BooleanallowsKatanaAuth()
Note: This getter is for internal only

allowsWebViewAuth

 final BooleanallowsWebViewAuth()
Note: This getter is for internal only

allowsDeviceAuth

 final BooleanallowsDeviceAuth()
Note: This getter is for internal only

allowsCustomTabAuth

 final BooleanallowsCustomTabAuth()
Note: This getter is for internal only

allowsFacebookLiteAuth

 final BooleanallowsFacebookLiteAuth()
Note: This getter is for internal only

allowsInstagramAppAuth

 final BooleanallowsInstagramAppAuth()
Note: This getter is for internal only

getName

 final StringgetName()

getOrdinal

 final IntegergetOrdinal()