Facebook Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.Facebook

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: false if the Facebook provider should not be enabled despite the set registration; otherwise, true.

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: false if the Facebook provider should not be enabled despite the set registration; otherwise, true.

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.

Methods inherited from java.lang.Object

Constructor Details

Facebook

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:

the enabled value.

graphApiVersion

public String graphApiVersion()

Get the graphApiVersion property: The version of the Facebook api to be used while logging in.

Returns:

the graphApiVersion value.

login

public LoginScopes login()

Get the login property: The configuration settings of the login flow.

Returns:

the login value.

registration

public AppRegistration registration()

Get the registration property: The configuration settings of the app registration for the Facebook provider.

Returns:

the registration value.

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:

enabled - the enabled value to set.

Returns:

the Facebook object itself.

withGraphApiVersion

public Facebook withGraphApiVersion(String graphApiVersion)

Set the graphApiVersion property: The version of the Facebook api to be used while logging in.

Parameters:

graphApiVersion - the graphApiVersion value to set.

Returns:

the Facebook object itself.

withLogin

public Facebook withLogin(LoginScopes login)

Set the login property: The configuration settings of the login flow.

Parameters:

login - the login value to set.

Returns:

the Facebook object itself.

withRegistration

public Facebook withRegistration(AppRegistration registration)

Set the registration property: The configuration settings of the app registration for the Facebook provider.

Parameters:

registration - the registration value to set.

Returns:

the Facebook object itself.

Applies to