Dela via


Microsoft.AspNetCore.Identity.EntityFrameworkCore Namespace

Provides types for persisting Identity data with Entity Framework Core.

Classes

IdentityDbContext

Base class for the Entity Framework database context used for identity.

IdentityDbContext<TUser>

Base class for the Entity Framework database context used for identity.

IdentityDbContext<TUser,TRole,TKey>

Base class for the Entity Framework database context used for identity.

IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>

Base class for the Entity Framework database context used for identity.

IdentityRole

The default implementation of IdentityRole<TKey> which uses a string as the primary key.

IdentityRole<TKey>

Represents a role in the identity system

IdentityRole<TKey,TUserRole,TRoleClaim>

Represents a role in the identity system

IdentityRoleClaim<TKey>

Represents a claim that is granted to all users within a role.

IdentityUser

The default implementation of IdentityUser<TKey> which uses a string as a primary key.

IdentityUser<TKey>

Represents a user in the identity system

IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>

Represents a user in the identity system

IdentityUserClaim<TKey>

Represents a claim that a user possesses.

IdentityUserContext<TUser>

Base class for the Entity Framework database context used for identity.

IdentityUserContext<TUser,TKey>

Base class for the Entity Framework database context used for identity.

IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>

Base class for the Entity Framework database context used for identity.

IdentityUserLogin<TKey>

Represents a login and its associated provider for a user.

IdentityUserRole<TKey>

Represents the link between a user and a role.

IdentityUserToken<TKey>

Represents an authentication token for a user.

RoleStore<TRole>

Creates a new instance of a persistence store for roles.

RoleStore<TRole,TContext>

Creates a new instance of a persistence store for roles.

RoleStore<TRole,TContext,TKey>

Creates a new instance of a persistence store for roles.

RoleStore<TRole,TContext,TKey,TUserRole,TRoleClaim>

Creates a new instance of a persistence store for roles.

UserOnlyStore<TUser>

Creates a new instance of a persistence store for the specified user type.

UserOnlyStore<TUser,TContext>

Represents a new instance of a persistence store for the specified user and role types.

UserOnlyStore<TUser,TContext,TKey>

Represents a new instance of a persistence store for the specified user and role types.

UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken>

Represents a new instance of a persistence store for the specified user and role types.

UserStore

Represents a new instance of a persistence store for users, using the default implementation of IdentityUser<TKey> with a string as a primary key.

UserStore<TUser>

Creates a new instance of a persistence store for the specified user type.

UserStore<TUser,TRole,TContext>

Represents a new instance of a persistence store for the specified user and role types.

UserStore<TUser,TRole,TContext,TKey>

Represents a new instance of a persistence store for the specified user and role types.

UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>

Represents a new instance of a persistence store for the specified user and role types.

UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>

Represents a new instance of a persistence store for the specified user and role types.

Remarks

For more information about Identity in ASP.NET Core, see Introduction to Identity on ASP.NET Core.