C# Class Frapid.Account.DAL.Users

Exibir arquivo Open project: frapid/frapid

Public Methods

Method Description
ChangePasswordAsync ( string tenant, int userId, ChangePasswordInfo model ) : System.Threading.Tasks.Task
ChangePasswordAsync ( string tenant, int userId, string newPassword, RemoteUser remoteUser ) : System.Threading.Tasks.Task
CreateUserAsync ( string tenant, int userId, UserInfo model ) : System.Threading.Tasks.Task
GetAsync ( string tenant, string email ) : Task

Private Methods

Method Description
EncryptPassword ( string password ) : string

Method Details

ChangePasswordAsync() public static method

public static ChangePasswordAsync ( string tenant, int userId, ChangePasswordInfo model ) : System.Threading.Tasks.Task
tenant string
userId int
model Frapid.Account.ViewModels.ChangePasswordInfo
return System.Threading.Tasks.Task

ChangePasswordAsync() public static method

public static ChangePasswordAsync ( string tenant, int userId, string newPassword, RemoteUser remoteUser ) : System.Threading.Tasks.Task
tenant string
userId int
newPassword string
remoteUser Frapid.Areas.RemoteUser
return System.Threading.Tasks.Task

CreateUserAsync() public static method

public static CreateUserAsync ( string tenant, int userId, UserInfo model ) : System.Threading.Tasks.Task
tenant string
userId int
model Frapid.Account.ViewModels.UserInfo
return System.Threading.Tasks.Task

GetAsync() public static method

public static GetAsync ( string tenant, string email ) : Task
tenant string
email string
return Task