Android SDK Version
- Mutable
- CollectionMapper
- AppCall
- CustomTab
- CustomTabUtils
- DialogFeature
- DialogPresenter
- FacebookDialogBase
- FacebookDialogFragment
- GamingAction
- FacebookWebFallbackDialog
- FragmentWrapper
- InstagramCustomTab
- PlatformServiceClient
- WebDialog
- AnalyticsEvents
- AttributionIdentifiers
- BoltsMeasurementEventListener
- BundleJSONConverter
- CallbackManagerImpl
- FacebookInitProvider
- FacebookRequestErrorClassification
- FacebookSignatureValidator
- FeatureManager
- FetchedAppGateKeepersManager
- FetchedAppSettings
- FetchedAppSettingsManager
- FileLruCache
- ImageDownloader
- ImageRequest
- ImageResponse
- ImageResponseCache
- InstallReferrerUtil
- InternalSettings
- LockOnGetVariable
- Logger
- NativeAppCallAttachmentStore
- NativeProtocol
- ServerProtocol
- SmartLoginOption
- UrlRedirectCache
- Utility
- Validate
- WorkQueue
- MessageDialog
- SendButton
- ShareButton
- ShareButtonBase
- GameRequestDialog
- ShareDialog
- MessageDialogFeature
- VideoUploader
- GameRequestValidation
- CameraEffectFeature
- CameraEffectJSONUtility
- LegacyNativeDialogParameters
- NativeDialogParameters
- ResultProcessor
- ShareConstants
- ShareContentValidation
- ShareDialogFeature
- ShareFeedContent
- ShareInternalUtility
- ShareStoryFeature
- WebDialogParameters
- ShareApi
- ShareBuilder
- Sharer
- Share
- ShareToMessengerParamsBuilder
- Messenger
- MessengerThreadParams
- MessengerUtils
- ShareToMessengerParams
- FacebookAppLinkResolver
- AppLinkData
- AppLinks
- AggregateException
- AppLink
- AppLinkResolver
- AppLinks
- CancellationToken
- CancellationTokenRegistration
- CancellationTokenSource
- Continuation
- ExecutorException
- Task
- TaskCompletionSource
- UnobservedTaskException
- AccessTokenTracker
- AuthenticationTokenTracker
- CustomTabActivity
- CustomTabMainActivity
- FacebookActivity
- FacebookAuthorizationException
- FacebookButtonBase
- FacebookCallback
- FacebookDialog
- FacebookDialogException
- LoginStatusCallback
- WebDialog
- AccessToken
- AccessTokenManager
- AccessTokenSource
- AuthenticationToken
- AuthenticationTokenCache
- AuthenticationTokenClaims
- AuthenticationTokenHeader
- AuthenticationTokenManager
- CallbackManager
- CurrentAccessTokenExpirationBroadcastReceiver
- FacebookBroadcastReceiver
- FacebookContentProvider
- FacebookException
- FacebookGraphResponseException
- FacebookOperationCanceledException
- FacebookRequestError
- FacebookSdk
- FacebookSdkNotInitializedException
- FacebookServiceException
- GraphRequest
- GraphRequestAsyncTask
- GraphRequestBatch
- GraphResponse
- HttpMethod
- LoggingBehavior
- Profile
- ProfileCache
- ProfileManager
- ProfileTracker
- ProgressNoopOutputStream
- ProgressOutputStream
- RequestProgress
- Common
- DeviceRequestsHelper
- EndToEndDumper
- CodeChallengeMethod
- CustomTabLoginMethodHandler
- CustomTabPrefetchHelper
- DeviceAuthDialog
- DeviceAuthMethodHandler
- GetTokenLoginMethodHandler
- KatanaProxyLoginMethodHandler
- LoginBehavior
- LoginClient
- LoginConfiguration
- LoginFragment
- LoginManager
- LoginMethodHandler
- LoginResult
- NativeAppLoginMethodHandler
- NonceUtil
- WebLoginMethodHandler
- WebViewLoginMethodHandler
- DefaultAudience
- LoginTargetApp
- DeviceLoginManager
- Login
- AppGroupCreationContent
- CameraEffectArguments
- CameraEffectTextures
- GameRequestContent
- ShareCameraEffectContent
- ShareContent
- ShareHashtag
- ShareLinkContent
- ShareMedia
- ShareMediaContent
- ShareMessengerActionButton
- ShareMessengerURLActionButton
- ShareModel
- ShareModelBuilder
- SharePhoto
- SharePhotoContent
- ShareStoryContent
- ShareVideo
- ShareVideoContent
- AccessTokenAppIdPair
- AppEvent
- AppEventsConstants
- AppEventsLogger
- AppEventsManager
- FlushResult
- InternalAppEventsLogger
- UserDataStore
- MetadataIndexer
- MetadataRule
- SettingsAPIFields
- AppEventsCAPIManager
- CustomEventField
- AppEventType
- AppEventUserAndAppDataField
- ConversionsAPISection
- ConversionsAPICustomEventField
- ConversionsAPIUserAndAppDataField
- ConversionsAPIEventName
- OtherEventConstants
- AppEventsConversionsAPITransformer
- AppEventsConversionsAPITransformerWebRequests
- CodelessLoggingEventListener
- CodelessManager
- RCTCodelessLoggingEventListener
- ViewIndexer
- Constants
- EventBinding
- ParameterComponent
- PathComponent
- SensitiveUserDataUtils
- UnityReflection
- ViewHierarchy
- EventDeactivationManager
- InAppPurchaseActivityLifecycleTracker
- InAppPurchaseAutoLogger
- InAppPurchaseBillingClientWrapper
- InAppPurchaseEventManager
- InAppPurchaseLoggerManager
- InAppPurchaseManager
- InAppPurchaseSkuDetailsWrapper
- InAppPurchaseUtils
- IntegrityManager
- ActivityLifecycleTracker
- AppEventUtility
- AppEventsLoggerUtility
- AutomaticAnalyticsLogger
- Constants
- FileDownloadTask
- ViewHierarchyConstants
- MTensor
- Model
- ModelManager
- Utils
- OnDeviceProcessingManager
- RemoteServiceWrapper
- RestrictiveDataManager
- SuggestedEventsManager
- ViewOnClickListener
- Core
- GateKeeper
- GateKeeperRuntimeCache
- ExceptionAnalyzer
- InstrumentData
- InstrumentManager
- InstrumentUtility
- ANRDetector
- ANRHandler
- CrashHandler
- AutoHandleExceptions
- CrashShieldHandler
- NoAutoExceptionHandling
- ErrorReportData
- ErrorReportHandler
- ThreadCheckHandler
- Excuse
- ExcusesForDesignViolations
- CertificateUtil
- OidcSecurityUtil
- DeviceLoginButton
- LoginButton
- ProfilePictureView
- ToolTipPopup
- All
public final class DeviceLoginManager extends LoginManager
This class manages device login and permissions for Facebook.
Field Summary
Modifier and Type | Field | Description |
---|---|---|
private Uri | deviceRedirectUri | |
private String | deviceAuthTargetUserId | |
private LoginBehavior | loginBehavior | |
private DefaultAudience | defaultAudience | |
private String | authType | |
private LoginTargetApp | loginTargetApp | |
private Boolean | isFamilyLogin | |
private Boolean | shouldSkipAccountDeduplication |
Method Summary
Modifier and Type | Method | Description |
---|---|---|
final Uri | getDeviceRedirectUri() | Uri to redirect the user to after they complete the device login flow on the external device. |
final Unit | setDeviceRedirectUri(Uri deviceRedirectUri) | Uri to redirect the user to after they complete the device login flow on the external device. |
final String | getDeviceAuthTargetUserId() | Target user id for the device request, if any. |
final Unit | setDeviceAuthTargetUserId(String deviceAuthTargetUserId) | Target user id for the device request, if any. |
final LoginBehavior | getLoginBehavior() | The login behavior. |
final Unit | setLoginBehavior(LoginBehavior loginBehavior) | |
final DefaultAudience | getDefaultAudience() | The default audience. |
final Unit | setDefaultAudience(DefaultAudience defaultAudience) | |
final String | getAuthType() | The authType |
final Unit | setAuthType(String authType) | |
final LoginTargetApp | getLoginTargetApp() | The login target app. |
final Unit | setLoginTargetApp(LoginTargetApp loginTargetApp) | |
final Boolean | getIsFamilyLogin() | Determines whether we are using the cross Family of Apps login experience. |
final Unit | setIsFamilyLogin(Boolean isFamilyLogin) | |
final Boolean | getShouldSkipAccountDeduplication() | Determines if we should skip deduplicating account during x-FoA login. |
final Unit | setShouldSkipAccountDeduplication(Boolean shouldSkipAccountDeduplication) |
Methods inherited from class com.facebook.login.DeviceLoginManager
createLogInActivityResultContract, createLogInActivityResultContract, createLogInActivityResultContract, logIn, logIn, logIn, logIn, logIn, logIn, logIn, logIn, logIn, logIn, logIn, logIn, logInWithConfiguration, logInWithPublishPermissions, logInWithPublishPermissions, logInWithPublishPermissions, logInWithPublishPermissions, logInWithPublishPermissions, logInWithReadPermissions, logInWithReadPermissions, logInWithReadPermissions, logInWithReadPermissions, logInWithReadPermissions, logOut, loginWithConfiguration, onActivityResult, onActivityResult, reauthorizeDataAccess, reauthorizeDataAccess, registerCallback, resolveError, resolveError, resolveError, resolveError, resolveError, retrieveLoginStatus, retrieveLoginStatus, setAuthType, setDefaultAudience, setFamilyLogin, setLoginBehavior, setLoginTargetApp, setMessengerPageId, setResetMessengerState, setShouldSkipAccountDeduplication, unregisterCallback
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail
getDeviceRedirectUri
final UrigetDeviceRedirectUri()
Uri to redirect the user to after they complete the device login flow on the external device.
The Uri must be configured in your App Settings -> Advanced -> OAuth Redirect URIs.
setDeviceRedirectUri
final UnitsetDeviceRedirectUri(Uri deviceRedirectUri)
Uri to redirect the user to after they complete the device login flow on the external device.
The Uri must be configured in your App Settings -> Advanced -> OAuth Redirect URIs.
getDeviceAuthTargetUserId
final StringgetDeviceAuthTargetUserId()
Target user id for the device request, if any.
setDeviceAuthTargetUserId
final UnitsetDeviceAuthTargetUserId(String deviceAuthTargetUserId)
Target user id for the device request, if any.
setLoginBehavior
final UnitsetLoginBehavior(LoginBehavior loginBehavior)
setDefaultAudience
final UnitsetDefaultAudience(DefaultAudience defaultAudience)
setAuthType
final UnitsetAuthType(String authType)
setLoginTargetApp
final UnitsetLoginTargetApp(LoginTargetApp loginTargetApp)
getIsFamilyLogin
final BooleangetIsFamilyLogin()
Determines whether we are using the cross Family of Apps login experience. True if using cross Family of Apps login
setIsFamilyLogin
final UnitsetIsFamilyLogin(Boolean isFamilyLogin)
getShouldSkipAccountDeduplication
final BooleangetShouldSkipAccountDeduplication()
Determines if we should skip deduplicating account during x-FoA login. True if Account deduplication is opted out in Family of Apps login
setShouldSkipAccountDeduplication
final UnitsetShouldSkipAccountDeduplication(Boolean shouldSkipAccountDeduplication)