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 | |
---|---|---|
AuthenticationMiddleware<TOptions>(OwinMiddleware, TOptions) | Initializes a new instance of the AuthenticationMiddleware<TOptions> class. |
Properties
Name | Description | |
---|---|---|
Next | The optional next component.(Inherited from OwinMiddleware.) |
|
Options | Gets or sets the authentication options. |
Methods
Name | Description | |
---|---|---|
CreateHandler() | Creates an authentication handler. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Invoke(IOwinContext) | (Overrides OwinMiddleware.Invoke(IOwinContext).) |
|
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.Infrastructure Namespace
Return to top