AuthenticationMiddleware<TOptions> Class
Represents an authentication middleware.
Inheritance Hierarchy
System.Object
Microsoft.Owin.OwinMiddleware
Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<TOptions>
Microsoft.Owin.Security.Facebook.FacebookAuthenticationMiddleware
Microsoft.Owin.Security.Google.GoogleAuthenticationMiddleware
Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationMiddleware
Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerMiddleware
Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationMiddleware
Microsoft.Owin.Security.Twitter.TwitterAuthenticationMiddleware
Namespace: Microsoft.Owin.Security.Infrastructure
Assembly: Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)
Syntax
'Declaration
Public MustInherit Class AuthenticationMiddleware(Of TOptions As AuthenticationOptions) _
Inherits OwinMiddleware
'Usage
Dim instance As AuthenticationMiddleware(Of TOptions)
public abstract class AuthenticationMiddleware<TOptions> : OwinMiddleware
where TOptions : AuthenticationOptions
generic<typename TOptions>
where TOptions : AuthenticationOptions
public ref class AuthenticationMiddleware abstract : public OwinMiddleware
[<AbstractClassAttribute>]
type AuthenticationMiddleware<'TOptions when 'TOptions : AuthenticationOptions> =
class
inherit OwinMiddleware
end
JScript does not support generic types and methods.
Type Parameters
- TOptions
The type of authentication options.
The AuthenticationMiddleware<TOptions> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AuthenticationMiddleware<TOptions> | Initializes a new instance of the AuthenticationMiddleware<TOptions> class. |
Top
Properties
Name | Description | |
---|---|---|
Next | Advances to the next OwinMiddleware instance. (Inherited from OwinMiddleware.) | |
Options | Gets or sets the authentication options. |
Top
Methods
Name | Description | |
---|---|---|
CreateHandler | Creates an authentication handler. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Invoke | (Overrides OwinMiddleware.Invoke(IOwinContext).) | |
MemberwiseClone | (Inherited from Object.) | |
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.