Share via


IdentityFactoryProvider<T> Class

 

Represents a class that is used to configure how the IdentityFactoryMiddleware will create an instance of the specified type for each OwinContext.

Namespace:   Microsoft.AspNet.Identity.Owin
Assembly:  Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider<T>

Syntax

public class IdentityFactoryProvider<T> : IIdentityFactoryProvider<T>
where T : class, IDisposable
generic<typename T>
where T : ref class, IDisposable
public ref class IdentityFactoryProvider : IIdentityFactoryProvider<T>
type IdentityFactoryProvider<'T when 'T : not struct and IDisposable> = 
    class
        interface IIdentityFactoryProvider<'T>
    end
Public Class IdentityFactoryProvider(Of T As { Class, IDisposable })
    Implements IIdentityFactoryProvider(Of T)

Type Parameters

  • T
    The type of the object to create.

Constructors

Name Description
System_CAPS_pubmethod IdentityFactoryProvider<T>()

Initializes a new instance of the IdentityFactoryProvider<T> class.

Properties

Name Description
System_CAPS_pubproperty OnCreate

Gets or sets a delegate assigned to this property will be invoked when the related method is called.

System_CAPS_pubproperty OnDispose

Gets or sets a delegate assigned to this property will be invoked when the related method is called.

Methods

Name Description
System_CAPS_pubmethod Create(IdentityFactoryOptions<T>, IOwinContext)

Calls the OnCreate delegate.

System_CAPS_pubmethod Dispose(IdentityFactoryOptions<T>, T)

Calls the OnDispose delegate.

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_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