ClaimsIdentityFactory<TUser> Class
Creates a ClaimsIdentity from a User
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.ClaimsIdentityFactory<TUser>
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Public Class ClaimsIdentityFactory(Of TUser As IUser) _
Implements IClaimsIdentityFactory(Of TUser)
'Usage
Dim instance As ClaimsIdentityFactory(Of TUser)
public class ClaimsIdentityFactory<TUser> : IClaimsIdentityFactory<TUser>
where TUser : IUser
generic<typename TUser>
where TUser : IUser
public ref class ClaimsIdentityFactory : IClaimsIdentityFactory<TUser>
type ClaimsIdentityFactory<'TUser when 'TUser : IUser> =
class
interface IClaimsIdentityFactory<'TUser>
end
JScript does not support generic types and methods.
Type Parameters
- TUser
The ClaimsIdentityFactory<TUser> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClaimsIdentityFactory<TUser> | Constructor |
Top
Properties
Name | Description | |
---|---|---|
RoleClaimType | Claim type used for role claims | |
UserIdClaimType | Claim type used for the user id | |
UserNameClaimType | Claim type used for the user name |
Top
Methods
Name | Description | |
---|---|---|
CreateAsync | Create a ClaimsIdentity from a user | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.