-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public 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 ofApps. 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 ( DeviceLoginButton or ( DeviceLoginManager to authenticate.
-
Method Summary
Modifier and Type Method Description static Array<LoginBehavior>
values()
static LoginBehavior
valueOf(String name)
-
-
Method Detail
-
values
static Array<LoginBehavior> values()
-
valueOf
static LoginBehavior valueOf(String name)
-
-
-
-