Android SDK Version


public final class LoginConfiguration
Configuration class to use for logging in with facebook
Nested Class Summary
Modifier and TypeClassDescription
public classLoginConfiguration.Companion
Field Summary
Modifier and TypeFieldDescription
private final Set<String>permissions
private final Stringnonce
Constructor Summary
ConstructorDescription
LoginConfiguration(Collection<String> permissions, String nonce)create a new configuration with the expected parameters.
LoginConfiguration(Collection<String> permissions)create a new configuration with the expected parameters.
Method Summary
Modifier and TypeMethodDescription
final Set<String>getPermissions() The requested permissions for the login attempt.
final StringgetNonce() he nonce that the configuration was created with.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

LoginConfiguration

LoginConfiguration(Collection<String> permissions, String nonce)
create a new configuration with the expected parameters.
Parameters:
permissions - the requested permissions for a login attempt.
nonce - an optional nonce to use for the login attempt.

LoginConfiguration

LoginConfiguration(Collection<String> permissions)
create a new configuration with the expected parameters.
Parameters:
permissions - the requested permissions for a login attempt.
Method Detail

getPermissions

 final Set<String> getPermissions()
The requested permissions for the login attempt. Defaults to an empty set.

getNonce

 final StringgetNonce()
he nonce that the configuration was created with.