ClaimsIdentityFactory<TUser> Class

 

Creates a ClaimsIdentity from a User

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

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

public class ClaimsIdentityFactory<TUser> : ClaimsIdentityFactory<TUser, string>
where TUser : class, IUser<string>

Type Parameters

TUser

NameDescription
System_CAPS_pubpropertyRoleClaimType

Gets or sets the claim type used for role claims.(Inherited from ClaimsIdentityFactory<TUser, TKey>.)

System_CAPS_pubpropertySecurityStampClaimType

Gets or sets the claim type used for the user security stamp.(Inherited from ClaimsIdentityFactory<TUser, TKey>.)

System_CAPS_pubpropertyUserIdClaimType

Gets or sets the claim type used for the user identity.(Inherited from ClaimsIdentityFactory<TUser, TKey>.)

System_CAPS_pubpropertyUserNameClaimType

Gets or sets the claim type used for the user name.(Inherited from ClaimsIdentityFactory<TUser, TKey>.)

NameDescription
System_CAPS_pubmethodConvertIdToString(TKey)

Converts the key to a string. By default just calls ToString() method.(Inherited from ClaimsIdentityFactory<TUser, TKey>.)

System_CAPS_pubmethodCreateAsync(UserManager<TUser, TKey>, TUser, String)

Asynchronously creates a ClaimsIdentity from a user.(Inherited from ClaimsIdentityFactory<TUser, TKey>.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: