Facebook Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Facebook
- com.
public final class 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: |
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. |
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:
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:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for