Options for the Twitter authentication middleware.
public ref class TwitterOptions : Microsoft::AspNetCore::Builder::RemoteAuthenticationOptions
public class TwitterOptions : Microsoft.AspNetCore.Builder.RemoteAuthenticationOptions
type TwitterOptions = class inherit RemoteAuthenticationOptions
Public Class TwitterOptions Inherits RemoteAuthenticationOptions
Initializes a new instance of the TwitterOptions class.
The AuthenticationScheme in the options corresponds to the logical name for a particular authentication scheme. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline.(Inherited from AuthenticationOptions)
If true the authentication middleware alter the request user coming in. If false the authentication middleware will only provide identity when explicitly indicated by the AuthenticationScheme.(Inherited from AuthenticationOptions)
If true the authentication middleware should handle automatic challenge. If false the authentication middleware will only alter responses when explicitly indicated by the AuthenticationScheme.(Inherited from AuthenticationOptions)
The HttpMessageHandler used to communicate with remote identity provider. This cannot be set at the same time as BackchannelCertificateValidator unless the value can be downcast to a WebRequestHandler.(Inherited from RemoteAuthenticationOptions)
Gets or sets timeout value in milliseconds for back channel communications with the remote identity provider.(Inherited from RemoteAuthenticationOptions)
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.(Inherited from RemoteAuthenticationOptions)
Gets or sets the issuer that should be used for any claims that are created(Inherited from AuthenticationOptions)
Gets or sets the consumer key used to communicate with Twitter.
Gets or sets the consumer secret used to sign requests to Twitter.
Additional information about the authentication type which is made available to the application.(Inherited from AuthenticationOptions)
Get or sets the text that the user can display on a sign in user interface.(Inherited from RemoteAuthenticationOptions)
Gets or sets the ITwitterEvents used to handle authentication events.
Gets or sets the time limit for completing the authentication flow (15 minutes by default).(Inherited from RemoteAuthenticationOptions)
Enables the retrieval user details during the authentication process, including e-mail addresses. Retrieving e-mail addresses requires special permissions from Twitter Support on a per application basis. The default is false. See https://dev.twitter.com/rest/reference/get/account/verify_credentials
Defines whether access and refresh tokens should be stored in the
AuthenticationProperties after a successful authorization.
This property is set to
Gets or sets the authentication scheme corresponding to the middleware responsible of persisting user's identity after a successful authentication. This value typically corresponds to a cookie middleware registered in the Startup class. When omitted, SignInScheme is used as a fallback value.(Inherited from RemoteAuthenticationOptions)
Gets or sets the type used to secure data handled by the middleware.
For testing purposes only.
For testing purposes only.(Inherited from AuthenticationOptions)