Compartir por


AuthenticationMiddleware<TOptions> Class

 

Represents an authentication middleware.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<TOptions>
      Microsoft.Owin.Security.Cookies.CookieAuthenticationMiddleware
      Microsoft.Owin.Security.Facebook.FacebookAuthenticationMiddleware
      Microsoft.Owin.Security.Google.GoogleAuthenticationMiddleware
      Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticationMiddleware
      Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationMiddleware
      Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerMiddleware
      Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationMiddleware
      Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationMiddleware
      Microsoft.Owin.Security.Twitter.TwitterAuthenticationMiddleware
      Microsoft.Owin.Security.WsFederation.WsFederationAuthenticationMiddleware

Syntax

public abstract class AuthenticationMiddleware<TOptions> : OwinMiddleware
where TOptions : AuthenticationOptions
generic<typename TOptions>
where TOptions : AuthenticationOptions
public ref class AuthenticationMiddleware abstract : OwinMiddleware
[<AbstractClass>]
type AuthenticationMiddleware<'TOptions when 'TOptions : AuthenticationOptions> = 
    class
        inherit OwinMiddleware
    end
Public MustInherit Class AuthenticationMiddleware(Of TOptions As AuthenticationOptions)
    Inherits OwinMiddleware

Type Parameters

  • TOptions
    The type of authentication options.

Constructors

Name Description
System_CAPS_protmethod AuthenticationMiddleware<TOptions>(OwinMiddleware, TOptions)

Initializes a new instance of the AuthenticationMiddleware<TOptions> class.

Properties

Name Description
System_CAPS_protproperty Next

The optional next component.(Inherited from OwinMiddleware.)

System_CAPS_pubproperty Options

Gets or sets the authentication options.

Methods

Name Description
System_CAPS_protmethod CreateHandler()

Creates an authentication handler.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(IOwinContext)

(Overrides OwinMiddleware.Invoke(IOwinContext).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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.Infrastructure Namespace

Return to top