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 | |
---|---|---|
IdentityFactoryProvider<T>() | Initializes a new instance of the IdentityFactoryProvider<T> class. |
Properties
Name | Description | |
---|---|---|
OnCreate | Gets or sets a delegate assigned to this property will be invoked when the related method is called. |
|
OnDispose | Gets or sets a delegate assigned to this property will be invoked when the related method is called. |
Methods
Name | Description | |
---|---|---|
Create(IdentityFactoryOptions<T>, IOwinContext) | Calls the OnCreate delegate. |
|
Dispose(IdentityFactoryOptions<T>, T) | Calls the OnDispose delegate. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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