Method | Description | |
---|---|---|
GetUser ( string token ) : |
||
LogInAsync ( string login, string password ) : string>>.Task |
Logs user into the application and registers new session for they.
|
|
Register ( |
Registers user with provided data
|
|
UserAccountService ( |
Method | Description | |
---|---|---|
LogOut ( string token ) : bool |
public GetUser ( string token ) : |
||
token | string | |
return |
public LogInAsync ( string login, string password ) : string>>.Task |
||
login | string | User login |
password | string | User password |
return | string>>.Task |
public Register ( |
||
model | User data | |
return |
public UserAccountService ( |
||
userService | ||
roleService | RoleService | |
authContainer | IAuthContainer |
|
return | DAL.DTO |