Facebook Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Facebook
- com.
Implements
public final class Facebook
implements JsonSerializable<Facebook>
The configuration settings of the Facebook provider.
Constructor Summary
Constructor | Description |
---|---|
Facebook() |
Creates an instance of Facebook class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: |
static Facebook |
fromJson(JsonReader jsonReader)
Reads an instance of Facebook from the Json |
String |
graphApiVersion()
Get the graph |
Login |
login()
Get the login property: The configuration settings of the login flow. |
App |
registration()
Get the registration property: The configuration settings of the app registration for the Facebook provider. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
withEnabled(Boolean enabled)
Set the enabled property: |
|
withGraphApiVersion(String graphApiVersion)
Set the graph |
|
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow. |
|
withRegistration(AppRegistration registration)
Set the registration property: The configuration settings of the app registration for the Facebook provider. |
Methods inherited from java.lang.Object
Constructor Details
public Facebook()
Creates an instance of Facebook class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: false
if the Facebook provider should not be enabled despite the set registration; otherwise, true
.
Returns:
fromJson
public static Facebook fromJson(JsonReader jsonReader)
Reads an instance of Facebook from the JsonReader.
Parameters:
Returns:
Throws:
graphApiVersion
public String graphApiVersion()
Get the graphApiVersion property: The version of the Facebook api to be used while logging in.
Returns:
login
public LoginScopes login()
Get the login property: The configuration settings of the login flow.
Returns:
registration
public AppRegistration registration()
Get the registration property: The configuration settings of the app registration for the Facebook provider.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public Facebook withEnabled(Boolean enabled)
Set the enabled property: false
if the Facebook provider should not be enabled despite the set registration; otherwise, true
.
Parameters:
Returns:
withGraphApiVersion
public Facebook withGraphApiVersion(String graphApiVersion)
Set the graphApiVersion property: The version of the Facebook api to be used while logging in.
Parameters:
Returns:
withLogin
public Facebook withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.
Parameters:
Returns:
withRegistration
public Facebook withRegistration(AppRegistration registration)
Set the registration property: The configuration settings of the app registration for the Facebook provider.
Parameters:
Returns:
Applies to
Azure SDK for Java