Microsoft.AspNet.Identity.EntityFramework
EntityFramework based implementation
EntityFramework based implementation
Constructor which takes a db context and wires up the stores with default instances using the context
Find a role by id
Find a role by name
Insert an entity
Mark an entity for deletion
Update an entity
Dispose the store
If disposing, calls dispose on the Context. Always nulls out the Context
Context for the store
If true will call dispose on the DbContext during Dipose
Returns an IQueryable of users
Constructor
Constructor
EntityFramework based user store implementation that supports IUserStore, IUserLoginStore, IUserClaimStore and
IUserRoleStore
EntityFramework based user store implementation that supports IUserStore, IUserLoginStore, IUserClaimStore and
IUserRoleStore
Constructor which takes a db context and wires up the stores with default instances using the context
Return the claims for a user
Add a claim to a user
Remove a claim from a user
Returns whether the user email is confirmed
Set IsConfirmed on the user
Set the user email
Get the user's email
Find a user by email
Returns the DateTimeOffset that represents the end of a user's lockout, any time in the past should be considered
not locked out.
Locks a user out until the specified end date (set to a past date, to unlock a user)
Used to record when an attempt to access the user has failed
Used to reset the account access count, typically after the account is successfully accessed
Returns the current number of failed access attempts. This number usually will be reset whenever the password is
verified or the account is locked out.
Returns whether the user can be locked out.
Sets whether the user can be locked out.
Find a user by id
Find a user by name
Insert an entity
Mark an entity for deletion
Update an entity
Dispose the store
Returns the user associated with this login
Add a login to the user
Remove a login from a user
Get the logins for a user
Set the password hash for a user
Get the password hash for a user
Returns true if the user has a password set
Set the user's phone number
Get a user's phone number
Returns whether the user phoneNumber is confirmed
Set PhoneNumberConfirmed on the user
Add a user to a role
Remove a user from a role
Get the names of the roles a user is a member of
Returns true if the user is in the named role
Set the security stamp for the user
Get the security stamp for a user
Set the Two Factor provider for the user
Get the two factor provider for the user
If disposing, calls dispose on the Context. Always nulls out the Context
Context for the store
If true will call dispose on the DbContext during Dipose
If true will call SaveChanges after Create/Update/Delete
Returns an IQueryable of users
Default constuctor which uses a new instance of a default EntityyDbContext
Constructor
EntityType that represents a user belonging to a role
EntityType that represents a user belonging to a role
UserId for the user that is in the role
RoleId for the role
EntityFramework based IIdentityEntityStore that allows query/manipulation of a TEntity set
Concrete entity type, i.e .User
Constructor that takes a Context
FindAsync an entity by ID
Insert an entity
Mark an entity for deletion
Update an entity
Context for the store
Used to query the entities
EntitySet for this store
Default IdentityDbContext that uses the default entity types for ASP.NET Identity Users, Roles, Claims, Logins.
Use this overload to add your own entity types.
Generic IdentityDbContext base that can be customized with entity types that extend from the base IdentityUserXXX types.
Default constructor which uses the "DefaultConnection" connectionString
Constructor which takes the connection string to use
Constructs a new context instance using the existing connection to connect to a database, and initializes it from
the given model. The connection will not be disposed when the context is disposed if contextOwnsConnection is
false.
An existing connection to use for the new context.
The model that will back this context.
Constructs a new context instance using the existing connection to connect to a
database, and initializes it from the given model. The connection will not be disposed when the context is
disposed if contextOwnsConnection is false.
Maps table names, and sets up relationships between the various user entities
Validates that UserNames are unique and case insenstive
IDbSet of Users
IDbSet of Roles
If true validates that emails are unique
Default constructor which uses the DefaultConnection
Constructor which takes the connection string to use
Constructs a new context instance using the existing connection to connect to a database, and initializes it from
the given model. The connection will not be disposed when the context is disposed if contextOwnsConnection is
false.
An existing connection to use for the new context.
The model that will back this context.
Constructs a new context instance using the existing connection to connect to a
database, and initializes it from the given model. The connection will not be disposed when the context is
disposed if contextOwnsConnection is false.
DbContext which uses a custom user entity with a string primary key
Default constructor which uses the DefaultConnection
Constructor which takes the connection string to use
Constructor which takes the connection string to use
Will throw an exception if the schema matches that of Identity 1.0.0
Constructs a new context instance using the existing connection to connect to a database, and initializes it from
the given model. The connection will not be disposed when the context is disposed if contextOwnsConnection is
false.
An existing connection to use for the new context.
The model that will back this context.
Constructs a new context instance using the existing connection to connect to a
database, and initializes it from the given model. The connection will not be disposed when the context is
disposed if contextOwnsConnection is false.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Database Validation failed..
Looks up a localized string similar to Email {0} is already taken..
Looks up a localized string similar to User name {0} is already taken..
Looks up a localized string similar to Entity Type {0} failed validation..
Looks up a localized string similar to A user with that external login already exists..
Looks up a localized string similar to The model backing the 'ApplicationDbContext' context has changed since the database was created. This could have happened because the model used by ASP.NET Identity Framework has changed or the model being used in your application has changed. To resolve this issue, you need to update your database. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=301867). Before you update your database using Code First Migrations, please disable the schema consistency ch [rest of string was truncated]";.
Looks up a localized string similar to Incorrect type, expected type of {0}..
Looks up a localized string similar to {0} cannot be null or empty..
Looks up a localized string similar to Role {0} already exists..
Looks up a localized string similar to Role is not empty..
Looks up a localized string similar to Role {0} does not exist..
Looks up a localized string similar to User already in role..
Looks up a localized string similar to The UserId cannot be found..
Looks up a localized string similar to UserLogin already exists for loginProvider: {0} with providerKey: {1}.
Looks up a localized string similar to User {0} does not exist..
Looks up a localized string similar to User is not in role..
Looks up a localized string similar to Value cannot be null or empty..
Represents a Role entity
Represents a Role entity
Constructor
Navigation property for users in the role
Role id
Role name
Constructor
Constructor
Default EntityFramework IUser implementation
Default EntityFramework IUser implementation
Constructor
Email
True if the email is confirmed, default is false
The salted/hashed form of the user password
A random value that should change whenever a users credentials have changed (password changed, login removed)
PhoneNumber for the user
True if the phone number is confirmed, default is false
Is two factor enabled for the user
DateTime in UTC when lockout ends, any time in the past is considered not locked out.
Is lockout enabled for this user
Used to record failures for the purposes of lockout
Navigation property for user roles
Navigation property for user claims
Navigation property for user logins
User ID (Primary Key)
User name
Constructor which creates a new Guid for the Id
Constructor that takes a userName
EntityType that represents one specific user claim
EntityType that represents one specific user claim
Primary key
User Id for the user who owns this login
Claim type
Claim value
Entity type for a user's login (i.e. facebook, google)
Entity type for a user's login (i.e. facebook, google)
The login provider for the login (i.e. facebook, google)
Key representing the login for the provider
User Id for the user who owns this login