Share via


TwitterAuthenticationMiddleware Class

OWIN middleware for authenticating users using Twitter

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<TwitterAuthenticationOptions>
      Microsoft.Owin.Security.Twitter.TwitterAuthenticationMiddleware

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

Syntax

'Declaration
Public Class TwitterAuthenticationMiddleware _
    Inherits AuthenticationMiddleware(Of TwitterAuthenticationOptions)
'Usage
Dim instance As TwitterAuthenticationMiddleware
public class TwitterAuthenticationMiddleware : AuthenticationMiddleware<TwitterAuthenticationOptions>
public ref class TwitterAuthenticationMiddleware : public AuthenticationMiddleware<TwitterAuthenticationOptions^>
type TwitterAuthenticationMiddleware =  
    class 
        inherit AuthenticationMiddleware<TwitterAuthenticationOptions>
    end
public class TwitterAuthenticationMiddleware extends AuthenticationMiddleware<TwitterAuthenticationOptions>

The TwitterAuthenticationMiddleware type exposes the following members.

Constructors

  Name Description
Public method TwitterAuthenticationMiddleware Initializes a TwitterAuthenticationMiddleware

Top

Properties

  Name Description
Protected property Next Advances to the next OwinMiddleware instance. (Inherited from OwinMiddleware.)
Public property Options Gets or sets the authentication options. (Inherited from AuthenticationMiddleware<TOptions>.)

Top

Methods

  Name Description
Protected method CreateHandler Provides the AuthenticationHandler object for processing authentication-related requests. (Overrides AuthenticationMiddleware<TOptions>.CreateHandler().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Invoke (Inherited from AuthenticationMiddleware<TOptions>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin.Security.Twitter Namespace