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
System_CAPS_pubmethod IdentityFactoryMiddleware<TResult, TOptions>(OwinMiddleware, TOptions)

Initializes a new instance of the IdentityFactoryMiddleware<TResult, TOptions> class.

Properties

Name Description
System_CAPS_protproperty Next

(Inherited from OwinMiddleware.)

System_CAPS_pubproperty Options

Gets or sets the configuration options for the middleware.

Methods

Name Description
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)

Creates an object using the Options.Provider, storing it in the OwinContext and then disposes the object when finished.(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.AspNet.Identity.Owin Namespace
ASP.NET Identity

Return to top