|
IOT Dash
|


Public Member Functions | |
| Task< IdentityUser?> | GetByNameAsync (string email) |
| Task< IdentityResult > | CreateAsync (IdentityUser newUser, string password) |
| new Task< IdentityResult > | CreateAsync (IdentityUser newUser) |
| Task< IdentityResult > | UpdateAsync (IdentityUser userToUpdate) |
| Task< bool > | CheckPasswordAsync (IdentityUser user, string password) |
Public Member Functions inherited from IotDash.Services.IModelStore< IdentityUser, string > | |
| Task< IReadOnlyList< TEntity > > | GetAllAsync () |
| Task< TEntity?> | GetByKeyAsync (TKey key) |
| Task | CreateAsync (TEntity entityToCreate) |
| Task< bool > | DeleteByKeyAsync (TKey entityId) |
This service provides CRUD operations on IdentityUser indexed by their ids.
| Task< bool > IotDash.Services.IUserStore.CheckPasswordAsync | ( | IdentityUser | user, |
| string | password | ||
| ) |
Check if the given password matches with the given user .
| user | The user to check. |
| password | The password to check. |
true if matches, false otherwise.Implemented in IotDash.Services.ModelStore.UserManagerWrapper.
| new Task< IdentityResult > IotDash.Services.IUserStore.CreateAsync | ( | IdentityUser | newUser | ) |
Add a new user to the database.
| newUser | The user to add. |
Implemented in IotDash.Services.ModelStore.UserManagerWrapper.
| Task< IdentityResult > IotDash.Services.IUserStore.CreateAsync | ( | IdentityUser | newUser, |
| string | password | ||
| ) |
Add a new user to the database with the given password .
| newUser | The user to add. |
| password |
Implemented in IotDash.Services.ModelStore.UserManagerWrapper.
| Task< IdentityUser?> IotDash.Services.IUserStore.GetByNameAsync | ( | string | ) |
Get a user with the given email .
| The email to filter by. |
null if no such user exists.Implemented in IotDash.Services.ModelStore.UserManagerWrapper.
| Task< IdentityResult > IotDash.Services.IUserStore.UpdateAsync | ( | IdentityUser | userToUpdate | ) |
Update a user with matching id to match this user.
| userToUpdate | The template user. |
Implemented in IotDash.Services.ModelStore.UserManagerWrapper.