Package 

Enum LoginBehavior

  • 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.