TwitterAuthenticationOptions Class
Options for the Twitter authentication middleware.
Namespace: Microsoft.Owin.Security.Twitter
Assembly: Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.AuthenticationOptions
Microsoft.Owin.Security.Twitter.TwitterAuthenticationOptions
Syntax
public class TwitterAuthenticationOptions : AuthenticationOptions
public ref class TwitterAuthenticationOptions : AuthenticationOptions
type TwitterAuthenticationOptions =
class
inherit AuthenticationOptions
end
Public Class TwitterAuthenticationOptions
Inherits AuthenticationOptions
Constructors
Name | Description | |
---|---|---|
TwitterAuthenticationOptions() | Initializes a new instance of the TwitterAuthenticationOptions class. |
Properties
Name | Description | |
---|---|---|
AuthenticationMode | 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.) |
|
AuthenticationType | 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.) |
|
BackchannelCertificateValidator | Gets or sets the a pinned certificate validator to use to validate the endpoints used in back channel communications belong to Twitter. |
|
BackchannelHttpHandler | The HttpMessageHandler used to communicate with Twitter. This cannot be set at the same time as BackchannelCertificateValidator unless the value can be downcast to a WebRequestHandler. |
|
BackchannelTimeout | Gets or sets timeout value in milliseconds for back channel communications with Twitter. |
|
CallbackPath | 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-twitter". |
|
Caption | Get or sets the text that the user can display on a sign in user interface. |
|
ConsumerKey | Gets or sets the consumer key used to communicate with Twitter. |
|
ConsumerSecret | Gets or sets the consumer secret used to sign requests to Twitter. |
|
Description | Additional information about the authentication type which is made available to the application.(Inherited from AuthenticationOptions.) |
|
Provider | Gets or sets the ITwitterAuthenticationProvider used to handle authentication events. |
|
SignInAsAuthenticationType | Gets or sets the name of another authentication middleware which will be responsible for actually issuing a user ClaimsIdentity. |
|
StateDataFormat | Gets or sets the type used to secure data handled by the middleware. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Owin.Security.Twitter Namespace
Return to top