Table of Contents

Class UserService

Namespace
DataService.Server.Services
Assembly
DataService.Server.dll
public class UserService
Inheritance
UserService
Inherited Members

Constructors

UserService(MongoDbService)

public UserService(MongoDbService mongoDbService)

Parameters

mongoDbService MongoDbService

Methods

GetUserByUsernameAsync(string)

public Task<ChapterUser> GetUserByUsernameAsync(string username)

Parameters

username string

Returns

Task<ChapterUser>

HashPassword(string)

public string HashPassword(string password)

Parameters

password string

Returns

string

VerifyPassword(ChapterUser, string)

public bool VerifyPassword(ChapterUser user, string password)

Parameters

user ChapterUser
password string

Returns

bool