FacebookAuthenticationOptions Class

 

Configuration options for FacebookAuthenticationMiddleware

Namespace:   Microsoft.Owin.Security.Facebook
Assembly:  Microsoft.Owin.Security.Facebook (in Microsoft.Owin.Security.Facebook.dll)

System::Object
  Microsoft.Owin.Security::AuthenticationOptions
    Microsoft.Owin.Security.Facebook::FacebookAuthenticationOptions

public ref class FacebookAuthenticationOptions : AuthenticationOptions

NameDescription
System_CAPS_pubmethodFacebookAuthenticationOptions()

Initializes a new FacebookAuthenticationOptions

NameDescription
System_CAPS_pubpropertyAppId

Gets or sets the Facebook-assigned appId

System_CAPS_pubpropertyAppSecret

Gets or sets the Facebook-assigned app secret

System_CAPS_pubpropertyAuthenticationMode

If Active the authentication middleware alter the request user coming in and alter 401 Unauthorized responses going out. If Passive the authentication middleware will only provide identity and alter responses when explicitly indicated by the AuthenticationType.(Inherited from AuthenticationOptions.)

System_CAPS_pubpropertyAuthenticationType

The AuthenticationType in the options corresponds to the IIdentity AuthenticationType property. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline.(Inherited from AuthenticationOptions.)

System_CAPS_pubpropertyAuthorizationEndpoint

Gets or sets the URI where the client will be redirected to authenticate. The default value is 'https://www.facebook.com/dialog/oauth'.

System_CAPS_pubpropertyBackchannelCertificateValidator

Gets or sets the a pinned certificate validator to use to validate the endpoints used in back channel communications belong to Facebook.

System_CAPS_pubpropertyBackchannelHttpHandler

The HttpMessageHandler used to communicate with Facebook. This cannot be set at the same time as BackchannelCertificateValidator unless the value can be downcast to a WebRequestHandler.

System_CAPS_pubpropertyBackchannelTimeout

Gets or sets timeout value in milliseconds for back channel communications with Facebook.

System_CAPS_pubpropertyCallbackPath

The request path within the application's base path where the user-agent will be returned. The middleware will process this request when it arrives. Default value is "/signin-facebook".

System_CAPS_pubpropertyCaption

Get or sets the text that the user can display on a sign in user interface.

System_CAPS_pubpropertyDescription

Additional information about the authentication type which is made available to the application.(Inherited from AuthenticationOptions.)

System_CAPS_pubpropertyProvider

Gets or sets the IFacebookAuthenticationProvider used to handle authentication events.

System_CAPS_pubpropertyScope

A list of permissions to request.

System_CAPS_pubpropertySendAppSecretProof

Gets or sets if the appsecret_proof should be generated and sent with Facebook API calls. This is enabled by default.

System_CAPS_pubpropertySignInAsAuthenticationType

Gets or sets the name of another authentication middleware which will be responsible for actually issuing a user ClaimsIdentity.

System_CAPS_pubpropertyStateDataFormat

Gets or sets the type used to secure data handled by the middleware.

System_CAPS_pubpropertyTokenEndpoint

Gets or sets the URI the middleware will access to exchange the OAuth token. The default value is 'https://graph.facebook.com/oauth/access_token'.

System_CAPS_pubpropertyUserInformationEndpoint

Gets or sets the URI the middleware will access to obtain the user information. The default value is 'https://graph.facebook.com/me'.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: