Package | com.myflashlab.air.extensions.fb |
Class | public class LoginBehavior |
Inheritance | LoginBehavior Object |
Constant | Defined By | ||
---|---|---|---|
DEVICE_AUTH : int = 5 [static]
on Android: Specifies that device login authentication flow should be used. | LoginBehavior | ||
KATANA_ONLY : int = 2 [static]
on Android: Specifies that login should only attempt to use Katana Proxy Login. | LoginBehavior | ||
NATIVE_ONLY : int = 1 [static]
on Android: Specifies that login should only attempt to login using the Facebook App. | LoginBehavior | ||
NATIVE_WITH_FALLBACK : int = 0 [static]
on Android: Specifies that login should attempt login in using the Facebook App, and if that
does not work fall back to web dialog auth. | LoginBehavior | ||
WEB_ONLY : int = 3 [static]
on Android: Specifies that only the web dialog auth should be used. | LoginBehavior | ||
WEB_VIEW_ONLY : int = 4 [static]
on Android: Specifies that only the web view dialog auth should be used. | LoginBehavior |
DEVICE_AUTH | Constant |
public static const DEVICE_AUTH:int = 5
on Android: Specifies that device login authentication flow should be used.
on iOS, it will always work as follow: logging in via ASWebAuthenticationSession (iOS 12+) or SFAuthenticationSession (iOS 11), which present specialized SafariViewControllers. Falls back to plain SFSafariViewController (iOS 9 and 10) or Safari (iOS 8).
KATANA_ONLY | Constant |
public static const KATANA_ONLY:int = 2
on Android: Specifies that login should only attempt to use Katana Proxy Login.
on iOS, it will always work as follow: logging in via ASWebAuthenticationSession (iOS 12+) or SFAuthenticationSession (iOS 11), which present specialized SafariViewControllers. Falls back to plain SFSafariViewController (iOS 9 and 10) or Safari (iOS 8).
NATIVE_ONLY | Constant |
public static const NATIVE_ONLY:int = 1
on Android: Specifies that login should only attempt to login using the Facebook App. If the Facebook App cannot be used then the login fails.
on iOS, it will always work as follow: logging in via ASWebAuthenticationSession (iOS 12+) or SFAuthenticationSession (iOS 11), which present specialized SafariViewControllers. Falls back to plain SFSafariViewController (iOS 9 and 10) or Safari (iOS 8).
NATIVE_WITH_FALLBACK | Constant |
public static const NATIVE_WITH_FALLBACK:int = 0
on Android: 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.
on iOS, it will always work as follow: logging in via ASWebAuthenticationSession (iOS 12+) or SFAuthenticationSession (iOS 11), which present specialized SafariViewControllers. Falls back to plain SFSafariViewController (iOS 9 and 10) or Safari (iOS 8).
WEB_ONLY | Constant |
public static const WEB_ONLY:int = 3
on Android: Specifies that only the web dialog auth should be used.
on iOS, it will always work as follow: logging in via ASWebAuthenticationSession (iOS 12+) or SFAuthenticationSession (iOS 11), which present specialized SafariViewControllers. Falls back to plain SFSafariViewController (iOS 9 and 10) or Safari (iOS 8).
WEB_VIEW_ONLY | Constant |
public static const WEB_VIEW_ONLY:int = 4
on Android: Specifies that only the web view dialog auth should be used.
on iOS, it will always work as follow: logging in via ASWebAuthenticationSession (iOS 12+) or SFAuthenticationSession (iOS 11), which present specialized SafariViewControllers. Falls back to plain SFSafariViewController (iOS 9 and 10) or Safari (iOS 8).