C# Class TeamBins.Services.UserAccountManager

Inheritance: IUserAccountManager
显示文件 Open project: kshyju/ProjectPlanningTool

Public Methods

Method Description
CreateAccount ( TeamBins.Common.UserAccountDto userAccount ) : Task
GetIssueSettingsForUser ( ) : Task
GetNotificationSettings ( ) : Task
GetPasswordResetRequest ( string activationCode ) : Task
GetTeams ( int userId ) : Task>
GetUser ( int id ) : Task
GetUser ( string email ) : Task
GetUserProfile ( ) : Task
SaveDefaultProjectForTeam ( DefaultIssueSettings defaultIssueSettings ) : System.Threading.Tasks.Task
SaveNotificationSettings ( UserEmailNotificationSettingsVM model ) : System.Threading.Tasks.Task
SavePasswordResetRequest ( TeamBins.Common.UserAccountDto user ) : System.Threading.Tasks.Task
SetDefaultTeam ( int userId, int teamId ) : System.Threading.Tasks.Task
UpdateLastLoginTime ( int userId ) : System.Threading.Tasks.Task
UpdatePassword ( string password, int userId ) : System.Threading.Tasks.Task
UpdateProfile ( EditProfileVm model ) : System.Threading.Tasks.Task
UserAccountManager ( IUserRepository userRepository, IUserAuthHelper userSessionHelper, IProjectManager projectManager, ITeamRepository teamRepository, IEmailManager emailManager, IEmailRepository emailRepository, IOptions settings ) : System

Private Methods

Method Description
SendEmailNotificaionForResetPassword ( PasswordResetRequest passwordResetRequest ) : System.Threading.Tasks.Task

Method Details

CreateAccount() public method

public CreateAccount ( TeamBins.Common.UserAccountDto userAccount ) : Task
userAccount TeamBins.Common.UserAccountDto
return Task

GetIssueSettingsForUser() public method

public GetIssueSettingsForUser ( ) : Task
return Task

GetNotificationSettings() public method

public GetNotificationSettings ( ) : Task
return Task

GetPasswordResetRequest() public method

public GetPasswordResetRequest ( string activationCode ) : Task
activationCode string
return Task

GetTeams() public method

public GetTeams ( int userId ) : Task>
userId int
return Task>

GetUser() public method

public GetUser ( int id ) : Task
id int
return Task

GetUser() public method

public GetUser ( string email ) : Task
email string
return Task

GetUserProfile() public method

public GetUserProfile ( ) : Task
return Task

SaveDefaultProjectForTeam() public method

public SaveDefaultProjectForTeam ( DefaultIssueSettings defaultIssueSettings ) : System.Threading.Tasks.Task
defaultIssueSettings TeamBins.Common.ViewModels.DefaultIssueSettings
return System.Threading.Tasks.Task

SaveNotificationSettings() public method

public SaveNotificationSettings ( UserEmailNotificationSettingsVM model ) : System.Threading.Tasks.Task
model TeamBins.Common.ViewModels.UserEmailNotificationSettingsVM
return System.Threading.Tasks.Task

SavePasswordResetRequest() public method

public SavePasswordResetRequest ( TeamBins.Common.UserAccountDto user ) : System.Threading.Tasks.Task
user TeamBins.Common.UserAccountDto
return System.Threading.Tasks.Task

SetDefaultTeam() public method

public SetDefaultTeam ( int userId, int teamId ) : System.Threading.Tasks.Task
userId int
teamId int
return System.Threading.Tasks.Task

UpdateLastLoginTime() public method

public UpdateLastLoginTime ( int userId ) : System.Threading.Tasks.Task
userId int
return System.Threading.Tasks.Task

UpdatePassword() public method

public UpdatePassword ( string password, int userId ) : System.Threading.Tasks.Task
password string
userId int
return System.Threading.Tasks.Task

UpdateProfile() public method

public UpdateProfile ( EditProfileVm model ) : System.Threading.Tasks.Task
model TeamBins.Common.ViewModels.EditProfileVm
return System.Threading.Tasks.Task

UserAccountManager() public method

public UserAccountManager ( IUserRepository userRepository, IUserAuthHelper userSessionHelper, IProjectManager projectManager, ITeamRepository teamRepository, IEmailManager emailManager, IEmailRepository emailRepository, IOptions settings ) : System
userRepository IUserRepository
userSessionHelper IUserAuthHelper
projectManager IProjectManager
teamRepository ITeamRepository
emailManager IEmailManager
emailRepository IEmailRepository
settings IOptions
return System