This class manages device login and permissions for Facebook.
Extends: | LoginManager |
Package: | login |
DeviceLoginManager()
public DeviceLoginManager()
getInstance()
Getter for the login manager.
public static DeviceLoginManager getInstance()
setDeviceRedirectUri(Uri)
Set 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.
public void setDeviceRedirectUri(Uri uri)
Parameter | Description |
---|---|
uri | The URI to set. |
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.
The Uri must be configured in your App Settings -> Advanced -> OAuth Redirect URIs.
public Uri getDeviceRedirectUri()