LoginBehavior
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

Specifies the behaviors to try during login.

Prolonge :Enum
Package :login
Méthodes Class
values()
public static LoginBehavior values()
valueOf(String)
public static LoginBehavior valueOf(String name)
ParamètreDescription
name
Constantes
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