-
public final class DeviceLoginManager extends LoginManagerThis class manages device login and permissions for Facebook.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDeviceLoginManager.Companion
-
Field Summary
Fields Modifier and Type Field Description private UrideviceRedirectUriprivate StringdeviceAuthTargetUserIdprivate StringauthTypeprivate DefaultAudiencedefaultAudienceprivate BooleanisFamilyLoginprivate LoginBehaviorloginBehaviorprivate LoginTargetApploginTargetAppprivate BooleanshouldSkipAccountDeduplication
-
Constructor Summary
Constructors Constructor Description DeviceLoginManager()
-
Method Summary
Modifier and Type Method Description final UrigetDeviceRedirectUri()Uri to redirect the user to after they complete the device login flow on the external device. final UnitsetDeviceRedirectUri(Uri deviceRedirectUri)Uri to redirect the user to after they complete the device login flow on the external device. final StringgetDeviceAuthTargetUserId()Target user id for the device request, if any. final UnitsetDeviceAuthTargetUserId(String deviceAuthTargetUserId)Target user id for the device request, if any. final StringgetAuthType()final UnitsetAuthType(String authType)final DefaultAudiencegetDefaultAudience()final UnitsetDefaultAudience(DefaultAudience defaultAudience)final BooleangetIsFamilyLogin()final UnitsetIsFamilyLogin(Boolean isFamilyLogin)final LoginBehaviorgetLoginBehavior()final UnitsetLoginBehavior(LoginBehavior loginBehavior)final LoginTargetAppgetLoginTargetApp()final UnitsetLoginTargetApp(LoginTargetApp loginTargetApp)final BooleangetShouldSkipAccountDeduplication()final UnitsetShouldSkipAccountDeduplication(Boolean shouldSkipAccountDeduplication)-
Methods inherited from class com.facebook.login.DeviceLoginManager
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, 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 Uri getDeviceRedirectUri()
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 Unit setDeviceRedirectUri(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 String getDeviceAuthTargetUserId()
Target user id for the device request, if any.
-
setDeviceAuthTargetUserId
final Unit setDeviceAuthTargetUserId(String deviceAuthTargetUserId)
Target user id for the device request, if any.
-
getAuthType
final String getAuthType()
-
setAuthType
final Unit setAuthType(String authType)
-
getDefaultAudience
final DefaultAudience getDefaultAudience()
-
setDefaultAudience
final Unit setDefaultAudience(DefaultAudience defaultAudience)
-
getIsFamilyLogin
final Boolean getIsFamilyLogin()
-
setIsFamilyLogin
final Unit setIsFamilyLogin(Boolean isFamilyLogin)
-
getLoginBehavior
final LoginBehavior getLoginBehavior()
-
setLoginBehavior
final Unit setLoginBehavior(LoginBehavior loginBehavior)
-
getLoginTargetApp
final LoginTargetApp getLoginTargetApp()
-
setLoginTargetApp
final Unit setLoginTargetApp(LoginTargetApp loginTargetApp)
-
getShouldSkipAccountDeduplication
final Boolean getShouldSkipAccountDeduplication()
-
setShouldSkipAccountDeduplication
final Unit setShouldSkipAccountDeduplication(Boolean shouldSkipAccountDeduplication)
-
-
-
-