Table of Contents

Class ConnectionOptionsFacebook

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

Options for the 'facebook' connection

[Serializable]
public record ConnectionOptionsFacebook : IJsonOnDeserialized, IJsonOnSerializing, IEquatable<ConnectionOptionsFacebook>
Inheritance
ConnectionOptionsFacebook
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public AdditionalProperties AdditionalProperties { get; set; }

Property Value

AdditionalProperties

AdsManagement

Grants permission to both read and manage ads for ad accounts you own or have been granted access to by the owner. By default, your app may only access ad accounts owned by admins of the app when in developer mode.

[JsonPropertyName("ads_management")]
public bool? AdsManagement { get; set; }

Property Value

bool?

AdsRead

Grants access to the Ads Insights API to pull ads report information for ad accounts you own or have been granted access to by the owner of other ad accounts.

[JsonPropertyName("ads_read")]
public bool? AdsRead { get; set; }

Property Value

bool?

AllowContextProfileField

Provides access to a social context. Deprecated on April 30th, 2019.

[JsonPropertyName("allow_context_profile_field")]
public bool? AllowContextProfileField { get; set; }

Property Value

bool?

BusinessManagement

Grants permission to read and write with the Business Manager API.

[JsonPropertyName("business_management")]
public bool? BusinessManagement { get; set; }

Property Value

bool?

ClientId

[JsonPropertyName("client_id")]
public string? ClientId { get; set; }

Property Value

string

ClientSecret

[JsonPropertyName("client_secret")]
public string? ClientSecret { get; set; }

Property Value

string

Email

Grants permission to access a person's primary email address.

[JsonPropertyName("email")]
public bool? Email { get; set; }

Property Value

bool?

FreeformScopes

[JsonPropertyName("freeform_scopes")]
public IEnumerable<string>? FreeformScopes { get; set; }

Property Value

IEnumerable<string>

GroupsAccessMemberInfo

Grants permission to publicly available group member information.

[JsonPropertyName("groups_access_member_info")]
public bool? GroupsAccessMemberInfo { get; set; }

Property Value

bool?

LeadsRetrieval

Grants permission to retrieve all the information captured within a lead.

[JsonPropertyName("leads_retrieval")]
public bool? LeadsRetrieval { get; set; }

Property Value

bool?

ManageNotifications

Enables your app to read a person's notifications and mark them as read. This permission does not let you send notifications to a person. Deprecated in Graph API v2.3.

[JsonPropertyName("manage_notifications")]
public bool? ManageNotifications { get; set; }

Property Value

bool?

ManagePages

Grants permission to retrieve Page Access Tokens for the Pages and Apps that the person administers. Apps need both manage_pages and publish_pages to be able to publish as a Page.

[JsonPropertyName("manage_pages")]
public bool? ManagePages { get; set; }

Property Value

bool?

NonPersistentAttrs

[JsonPropertyName("non_persistent_attrs")]
public IEnumerable<string>? NonPersistentAttrs { get; set; }

Property Value

IEnumerable<string>

PagesManageCta

Allows the app to perform POST and DELETE operations on endpoints used for managing a Page's Call To Action buttons.

[JsonPropertyName("pages_manage_cta")]
public bool? PagesManageCta { get; set; }

Property Value

bool?

PagesManageInstantArticles

Grants permission to manage Instant Articles on behalf of Facebook Pages administered by people using your app.

[JsonPropertyName("pages_manage_instant_articles")]
public bool? PagesManageInstantArticles { get; set; }

Property Value

bool?

PagesMessaging

Grants permission to send and receive messages through a Facebook Page.

[JsonPropertyName("pages_messaging")]
public bool? PagesMessaging { get; set; }

Property Value

bool?

PagesMessagingPhoneNumber

Grants permission to use the phone number messaging feature.

[JsonPropertyName("pages_messaging_phone_number")]
public bool? PagesMessagingPhoneNumber { get; set; }

Property Value

bool?

PagesMessagingSubscriptions

Grants permission to send messages using Facebook Pages at any time after the first user interaction. Your app may only send advertising or promotional content through sponsored messages or within 24 hours of user interaction.

[JsonPropertyName("pages_messaging_subscriptions")]
public bool? PagesMessagingSubscriptions { get; set; }

Property Value

bool?

PagesShowList

Grants access to show the list of the Pages that a person manages.

[JsonPropertyName("pages_show_list")]
public bool? PagesShowList { get; set; }

Property Value

bool?

PublicProfile

Provides access to a user's public profile information including id, first_name, last_name, middle_name, name, name_format, picture, and short_name. This is the most basic permission and is required by Facebook.

[JsonPropertyName("public_profile")]
public bool? PublicProfile { get; set; }

Property Value

bool?

PublishActions

Allows your app to publish to the Open Graph using Built-in Actions, Achievements, Scores, or Custom Actions. Deprecated on August 1st, 2018.

[JsonPropertyName("publish_actions")]
public bool? PublishActions { get; set; }

Property Value

bool?

PublishPages

Grants permission to publish posts, comments, and like Pages managed by a person using your app. Your app must also have manage_pages to publish as a Page.

[JsonPropertyName("publish_pages")]
public bool? PublishPages { get; set; }

Property Value

bool?

PublishToGroups

Grants permission to post content into a group on behalf of a user who has granted the app this permission.

[JsonPropertyName("publish_to_groups")]
public bool? PublishToGroups { get; set; }

Property Value

bool?

PublishVideo

Grants permission to publish live videos to the app User's timeline.

[JsonPropertyName("publish_video")]
public bool? PublishVideo { get; set; }

Property Value

bool?

ReadAudienceNetworkInsights

Grants read-only access to the Audience Network Insights data for Apps the person owns.

[JsonPropertyName("read_audience_network_insights")]
public bool? ReadAudienceNetworkInsights { get; set; }

Property Value

bool?

ReadInsights

Grants read-only access to the Insights data for Pages, Apps, and web domains the person owns.

[JsonPropertyName("read_insights")]
public bool? ReadInsights { get; set; }

Property Value

bool?

ReadMailbox

Provides the ability to read the messages in a person's Facebook Inbox through the inbox edge and the thread node. Deprecated in Graph API v2.3.

[JsonPropertyName("read_mailbox")]
public bool? ReadMailbox { get; set; }

Property Value

bool?

ReadPageMailboxes

Grants permission to read from the Page Inboxes of the Pages managed by a person. This permission is often used alongside the manage_pages permission.

[JsonPropertyName("read_page_mailboxes")]
public bool? ReadPageMailboxes { get; set; }

Property Value

bool?

ReadStream

Provides access to read the posts in a person's News Feed, or the posts on their Profile. Deprecated in Graph API v2.3.

[JsonPropertyName("read_stream")]
public bool? ReadStream { get; set; }

Property Value

bool?

Scope

[JsonPropertyName("scope")]
public string? Scope { get; set; }

Property Value

string

SetUserRootAttributes

[JsonPropertyName("set_user_root_attributes")]
public ConnectionSetUserRootAttributesEnum? SetUserRootAttributes { get; set; }

Property Value

ConnectionSetUserRootAttributesEnum?

UpstreamParams

[JsonPropertyName("upstream_params")]
public Dictionary<string, ConnectionUpstreamAdditionalProperties>? UpstreamParams { get; set; }

Property Value

Dictionary<string, ConnectionUpstreamAdditionalProperties>

UserAgeRange

Grants permission to access a person's age range.

[JsonPropertyName("user_age_range")]
public bool? UserAgeRange { get; set; }

Property Value

bool?

UserBirthday

Grants permission to access a person's birthday.

[JsonPropertyName("user_birthday")]
public bool? UserBirthday { get; set; }

Property Value

bool?

UserEvents

Grants read-only access to the Events a person is a host of or has RSVPed to. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook.

[JsonPropertyName("user_events")]
public bool? UserEvents { get; set; }

Property Value

bool?

UserFriends

Grants permission to access a list of friends that also use said app. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook.

[JsonPropertyName("user_friends")]
public bool? UserFriends { get; set; }

Property Value

bool?

UserGender

Grants permission to access a person's gender.

[JsonPropertyName("user_gender")]
public bool? UserGender { get; set; }

Property Value

bool?

UserGroups

Enables your app to read the Groups a person is a member of through the groups edge on the User object. Deprecated in Graph API v2.3.

[JsonPropertyName("user_groups")]
public bool? UserGroups { get; set; }

Property Value

bool?

UserHometown

Grants permission to access a person's hometown location set in their User Profile.

[JsonPropertyName("user_hometown")]
public bool? UserHometown { get; set; }

Property Value

bool?

UserLikes

Grants permission to access the list of all Facebook Pages that a person has liked.

[JsonPropertyName("user_likes")]
public bool? UserLikes { get; set; }

Property Value

bool?

Grants permission to access the Facebook Profile URL of the user of your app.

[JsonPropertyName("user_link")]
public bool? UserLink { get; set; }

Property Value

bool?

UserLocation

Provides access to a person's current city through the location field on the User object. The current city is set by a person on their Profile.

[JsonPropertyName("user_location")]
public bool? UserLocation { get; set; }

Property Value

bool?

UserManagedGroups

Enables your app to read the Groups a person is an admin of through the groups edge on the User object. Deprecated in Graph API v3.0.

[JsonPropertyName("user_managed_groups")]
public bool? UserManagedGroups { get; set; }

Property Value

bool?

UserPhotos

Provides access to the photos a person has uploaded or been tagged in. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook.

[JsonPropertyName("user_photos")]
public bool? UserPhotos { get; set; }

Property Value

bool?

UserPosts

Provides access to the posts on a person's Timeline including their own posts, posts they are tagged in, and posts other people make on their Timeline. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook.

[JsonPropertyName("user_posts")]
public bool? UserPosts { get; set; }

Property Value

bool?

UserStatus

Provides access to a person's statuses. These are posts on Facebook which don't include links, videos or photos. Deprecated in Graph API v2.3.

[JsonPropertyName("user_status")]
public bool? UserStatus { get; set; }

Property Value

bool?

UserTaggedPlaces

Provides access to the Places a person has been tagged at in photos, videos, statuses and links. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook.

[JsonPropertyName("user_tagged_places")]
public bool? UserTaggedPlaces { get; set; }

Property Value

bool?

UserVideos

Provides access to the videos a person has uploaded or been tagged in. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook.

[JsonPropertyName("user_videos")]
public bool? UserVideos { get; set; }

Property Value

bool?

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.