C# 클래스 Emergy.Core.Services.AccountService

상속: IAccountService
파일 보기 프로젝트 열기: gboduljak/Emergy

공개 메소드들

메소드 설명
AccountService ( ) : System
AccountService ( UserManager userManager, RoleManager roleManager, IEmailService emailService ) : System
ChangePasswordAsync ( string userId, ChangePasswordBindingModel model ) : Task
Create ( ) : AccountService
CreateAccountAsync ( ApplicationUser newUser, string password ) : Task
Dispose ( ) : void
EmailTaken ( string email ) : Task
GetUserByIdAsync ( string userId ) : Task
GetUserByKeyAsync ( string userKey ) : Task
GetUserByNameAsync ( string userName ) : Task
LoginAsync ( LoginUserBindingModel model, OAuthAuthorizationServerOptions authOptions ) : Task
UpdateLocation ( ApplicationUser user, Location location ) : System.Threading.Tasks.Task
UserNameTaken ( string username ) : Task

비공개 메소드들

메소드 설명
SetUserKey ( ApplicationUser &user, string &userKey ) : void

메소드 상세

AccountService() 공개 메소드

public AccountService ( ) : System
리턴 System

AccountService() 공개 메소드

public AccountService ( UserManager userManager, RoleManager roleManager, IEmailService emailService ) : System
userManager UserManager
roleManager RoleManager
emailService IEmailService
리턴 System

ChangePasswordAsync() 공개 메소드

public ChangePasswordAsync ( string userId, ChangePasswordBindingModel model ) : Task
userId string
model Emergy.Core.Models.Account.ChangePasswordBindingModel
리턴 Task

Create() 공개 메소드

public Create ( ) : AccountService
리턴 AccountService

CreateAccountAsync() 공개 메소드

public CreateAccountAsync ( ApplicationUser newUser, string password ) : Task
newUser ApplicationUser
password string
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EmailTaken() 공개 메소드

public EmailTaken ( string email ) : Task
email string
리턴 Task

GetUserByIdAsync() 공개 메소드

public GetUserByIdAsync ( string userId ) : Task
userId string
리턴 Task

GetUserByKeyAsync() 공개 메소드

public GetUserByKeyAsync ( string userKey ) : Task
userKey string
리턴 Task

GetUserByNameAsync() 공개 메소드

public GetUserByNameAsync ( string userName ) : Task
userName string
리턴 Task

LoginAsync() 공개 메소드

public LoginAsync ( LoginUserBindingModel model, OAuthAuthorizationServerOptions authOptions ) : Task
model Emergy.Core.Models.Account.LoginUserBindingModel
authOptions Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptions
리턴 Task

UpdateLocation() 공개 메소드

public UpdateLocation ( ApplicationUser user, Location location ) : System.Threading.Tasks.Task
user ApplicationUser
location Emergy.Data.Models.Location
리턴 System.Threading.Tasks.Task

UserNameTaken() 공개 메소드

public UserNameTaken ( string username ) : Task
username string
리턴 Task