public class DeviceLoginManager
extends com.facebook.login.LoginManager
| Constructor and Description |
|---|
DeviceLoginManager() |
| Modifier and Type | Method and Description |
|---|---|
protected com.facebook.login.LoginClient.Request |
createLoginRequest(java.util.Collection<java.lang.String> permissions) |
java.lang.String |
getDeviceAuthTargetUserId()
Get the target user id for the device request, if any.
|
android.net.Uri |
getDeviceRedirectUri()
Get the previously set uri that will be used to redirect the user to
after they complete the device login flow on the external device.
|
static DeviceLoginManager |
getInstance()
Getter for the login manager.
|
void |
setDeviceAuthTargetUserId(java.lang.String targetUserId)
Optional.
|
void |
setDeviceRedirectUri(android.net.Uri uri)
Set uri to redirect the user to after they complete
the device login flow on the external device.
|
createReauthorizeRequest, getAuthType, getDefaultAudience, getFacebookActivityIntent, getLoginBehavior, logIn, logIn, logIn, logIn, logInWithPublishPermissions, logInWithPublishPermissions, logInWithPublishPermissions, logInWithReadPermissions, logInWithReadPermissions, logInWithReadPermissions, logOut, reauthorizeDataAccess, reauthorizeDataAccess, registerCallback, resolveError, resolveError, resolveError, retrieveLoginStatus, retrieveLoginStatus, setAuthType, setDefaultAudience, setLoginBehavior, unregisterCallbackpublic static DeviceLoginManager getInstance()
public void setDeviceRedirectUri(android.net.Uri uri)
uri - The URI to set.public android.net.Uri getDeviceRedirectUri()
public void setDeviceAuthTargetUserId(@Nullable
java.lang.String targetUserId)
targetUserId - The user id to target.@Nullable public java.lang.String getDeviceAuthTargetUserId()
protected com.facebook.login.LoginClient.Request createLoginRequest(java.util.Collection<java.lang.String> permissions)
createLoginRequest in class com.facebook.login.LoginManager