ClaimsIdentityFactory<TUser> Class

Creates a ClaimsIdentity from a User

System.Object
  Microsoft.AspNet.Identity.ClaimsIdentityFactory<TUser>

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

public class ClaimsIdentityFactory<TUser> : IClaimsIdentityFactory<TUser>
where TUser : IUser

Type Parameters

TUser

The ClaimsIdentityFactory<TUser> type exposes the following members.

  NameDescription
Public methodClaimsIdentityFactory<TUser>Constructor
Top

  NameDescription
Public propertyRoleClaimTypeClaim type used for role claims
Public propertyUserIdClaimTypeClaim type used for the user id
Public propertyUserNameClaimTypeClaim type used for the user name
Top

  NameDescription
Public methodCreateAsyncCreate a ClaimsIdentity from a user
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: