IdentityFactoryMiddleware<TResult, TOptions> Class
Represents an OWIN middleware that initializes an object for use in the OWIN context via the get/set generic extensions method.
Namespace: Microsoft.AspNet.Identity.Owin
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.OwinMiddleware
Microsoft.AspNet.Identity.Owin.IdentityFactoryMiddleware<TResult, TOptions>
Syntax
public class IdentityFactoryMiddleware<TResult, TOptions> : OwinMiddleware
where TResult : IDisposable
where TOptions : IdentityFactoryOptions<TResult>
generic<typename TResult, typename TOptions>
where TResult : IDisposable
where TOptions : IdentityFactoryOptions<TResult>
public ref class IdentityFactoryMiddleware : OwinMiddleware
type IdentityFactoryMiddleware<'TResult, 'TOptions when 'TResult : IDisposable when 'TOptions : IdentityFactoryOptions<'TResult>> =
class
inherit OwinMiddleware
end
Public Class IdentityFactoryMiddleware(Of TResult As IDisposable, TOptions As IdentityFactoryOptions(Of TResult))
Inherits OwinMiddleware
Type Parameters
- TResult
The type of the result.
- TOptions
The type of the options.
Constructors
Name | Description | |
---|---|---|
![]() |
IdentityFactoryMiddleware<TResult, TOptions>(OwinMiddleware, TOptions) | Initializes a new instance of the IdentityFactoryMiddleware<TResult, TOptions> class. |
Properties
Name | Description | |
---|---|---|
![]() |
Next | (Inherited from OwinMiddleware.) |
![]() |
Options | Gets or sets the configuration options for the middleware. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Invoke(IOwinContext) | Creates an object using the Options.Provider, storing it in the OwinContext and then disposes the object when finished.(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.AspNet.Identity.Owin Namespace
ASP.NET Identity
Return to top