LoginBehavior
这个类有新版本。查看 最新版本。

Specifies the behaviors to try during login.

扩展:Enum
应用安装包:login
类方法
values()
public static LoginBehavior values()
valueOf(String)
public static LoginBehavior valueOf(String name)
参数描述
name
常量
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. This is the default behavior.
public static final LoginBehavior NATIVE_WITH_FALLBACK
NATIVE_ONLY
Specifies that login should only attempt to login using the Facebook App. If the Facebook App cannot be used then the login fails.
public static final LoginBehavior NATIVE_ONLY
WEB_ONLY
Specifies that only the web dialog auth should be used.
public static final LoginBehavior WEB_ONLY
DEVICE_AUTH
Specifies that device login authentication flow should be used. Use it via (DeviceLoginButton or (DeviceLoginManager to authenticate.
public static final LoginBehavior DEVICE_AUTH