IClaimsIdentityFactory<TUser, TKey> Interface

 

Defines the method a factory must implement to asynchronously create a claims identity from an IUser.

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

Syntax

public interface IClaimsIdentityFactory<TUser, TKey>
where TUser : class, IUser<TKey>
where TKey : object, IEquatable<TKey>
generic<typename TUser, typename TKey>
where TUser : ref class, IUser<TKey>
where TKey : Object, IEquatable<TKey>
public interface class IClaimsIdentityFactory
type IClaimsIdentityFactory<'TUser, 'TKey when 'TUser : not struct and IUser<'TKey> when 'TKey : Object and IEquatable<'TKey>> = interface end
Public Interface IClaimsIdentityFactory(Of TUser As { Class, IUser(Of TKey) }, TKey As { Object, IEquatable(Of TKey) })

Type Parameters

  • TUser
    The type of the user.
  • TKey
    The type of the key.

Methods

Name Description
System_CAPS_pubmethod CreateAsync(UserManager<TUser, TKey>, TUser, String)

Asynchronously creates a claims identity from a user using a user manager.

See Also

Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top