FacebookOptions Class¶
Configuration options for Microsoft.AspNetCore.Authentication.Facebook.FacebookMiddleware
.
- Namespace
Microsoft.AspNetCore.Builder
- Assemblies
- Microsoft.AspNetCore.Authentication.Facebook
Syntax¶
public class FacebookOptions : OAuthOptions
-
class
Microsoft.AspNetCore.Builder.
FacebookOptions
Constructors¶
-
FacebookOptions
()¶ Initializes a new
Microsoft.AspNetCore.Builder.FacebookOptions
.public FacebookOptions()
-
Properties¶
-
Microsoft.AspNetCore.Builder.FacebookOptions.
AppId
¶ Gets or sets the Facebook-assigned appId.
Return type: System.String public string AppId { get; set; }
-
Microsoft.AspNetCore.Builder.FacebookOptions.
AppSecret
¶ Gets or sets the Facebook-assigned app secret.
Return type: System.String public string AppSecret { get; set; }
-
Microsoft.AspNetCore.Builder.FacebookOptions.
Fields
¶ The list of fields to retrieve from the UserInformationEndpoint. https://developers.facebook.com/docs/graph-api/reference/user
Return type: System.Collections.Generic.ICollection<System.String> public ICollection<string> Fields { get; }
-
Microsoft.AspNetCore.Builder.FacebookOptions.
SendAppSecretProof
¶ Gets or sets if the appsecret_proof should be generated and sent with Facebook API calls. This is enabled by default.
Return type: System.Boolean public bool SendAppSecretProof { get; set; }
-