public final class Facebook extends Object
| Constructor and Description |
|---|
Facebook() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: <code>false</code> if the Facebook provider should not be enabled despite
the set registration; otherwise, <code>true</code>.
|
String |
graphApiVersion()
Get the graphApiVersion property: The version of the Facebook api to be used while logging in.
|
LoginScopes |
login()
Get the login property: The configuration settings of the login flow.
|
AppRegistration |
registration()
Get the registration property: The configuration settings of the app registration for the Facebook provider.
|
void |
validate()
Validates the instance.
|
Facebook |
withEnabled(Boolean enabled)
Set the enabled property: <code>false</code> if the Facebook provider should not be enabled despite
the set registration; otherwise, <code>true</code>.
|
Facebook |
withGraphApiVersion(String graphApiVersion)
Set the graphApiVersion property: The version of the Facebook api to be used while logging in.
|
Facebook |
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.
|
Facebook |
withRegistration(AppRegistration registration)
Set the registration property: The configuration settings of the app registration for the Facebook provider.
|
public Boolean enabled()
public Facebook withEnabled(Boolean enabled)
enabled - the enabled value to set.public AppRegistration registration()
public Facebook withRegistration(AppRegistration registration)
registration - the registration value to set.public String graphApiVersion()
public Facebook withGraphApiVersion(String graphApiVersion)
graphApiVersion - the graphApiVersion value to set.public LoginScopes login()
public Facebook withLogin(LoginScopes login)
login - the login value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.