C# Class Quince.Admin.Core.Managers.UserManager

Inheritance: IDisposable
ファイルを表示 Open project: occrp/public-person-profiler Class Usage Examples

Public Methods

Method Description
Create ( RegisterModel registerModel ) : Response
Create ( ) : UserManager
CreateUserAsync ( AddUserModel registerModel ) : Task
CreateUserAsync ( RegisterModel registerModel ) : Task
DeleteUserAsync ( long id ) : Task
Dispose ( ) : void
GenerateHashWithSalt ( string password, string salt ) : string
GetUser ( string username, string password ) : Response
GetUser ( int id ) : object
GetUsers ( DTRequest request ) : DTResponse
GetUsers ( ) : IEnumerable
UpdateUserAsync ( AddUserModel registerModel ) : Task
ValidateUser ( AddUserModel registerModel, Response response = null ) : Response

Method Details

Create() public static method

public static Create ( RegisterModel registerModel ) : Response
registerModel Quince.Admin.Core.Models.RegisterModel
return Response

Create() public static method

public static Create ( ) : UserManager
return UserManager

CreateUserAsync() public static method

public static CreateUserAsync ( AddUserModel registerModel ) : Task
registerModel Quince.Admin.Core.Models.User.AddUserModel
return Task

CreateUserAsync() public static method

public static CreateUserAsync ( RegisterModel registerModel ) : Task
registerModel Quince.Admin.Core.Models.RegisterModel
return Task

DeleteUserAsync() public static method

public static DeleteUserAsync ( long id ) : Task
id long
return Task

Dispose() public method

public Dispose ( ) : void
return void

GenerateHashWithSalt() public static method

public static GenerateHashWithSalt ( string password, string salt ) : string
password string
salt string
return string

GetUser() public static method

public static GetUser ( string username, string password ) : Response
username string
password string
return Response

GetUser() public static method

public static GetUser ( int id ) : object
id int
return object

GetUsers() public static method

public static GetUsers ( DTRequest request ) : DTResponse
request Quince.Admin.Core.Models.DataTables.DTRequest
return Quince.Admin.Core.Models.DataTables.DTResponse

GetUsers() public static method

public static GetUsers ( ) : IEnumerable
return IEnumerable

UpdateUserAsync() public static method

public static UpdateUserAsync ( AddUserModel registerModel ) : Task
registerModel Quince.Admin.Core.Models.User.AddUserModel
return Task

ValidateUser() public static method

public static ValidateUser ( AddUserModel registerModel, Response response = null ) : Response
registerModel Quince.Admin.Core.Models.User.AddUserModel
response Response
return Response