C# Class Sample.Domain.Services.Implementations.UserAccountService

Inheritance: IUserAccountService
Datei anzeigen Open project: kkrac/ProSpec

Public Methods

Method Description
ActivateAccount ( string userId, string token ) : bool
CreateAccount ( ISampleUser user, string password, string passwordConfirmation, bool acceptsTerms ) : void
UserAccountService ( IUserAccountDAO dao, IEncryptionService encryptionService, IMessageSender emailService ) : System
ValidateLogin ( string userId, string password ) : void

Private Methods

Method Description
IsTemporaryAccountValid ( string userId, string token ) : bool

Method Details

ActivateAccount() public method

public ActivateAccount ( string userId, string token ) : bool
userId string
token string
return bool

CreateAccount() public method

public CreateAccount ( ISampleUser user, string password, string passwordConfirmation, bool acceptsTerms ) : void
user ISampleUser
password string
passwordConfirmation string
acceptsTerms bool
return void

UserAccountService() public method

public UserAccountService ( IUserAccountDAO dao, IEncryptionService encryptionService, IMessageSender emailService ) : System
dao IUserAccountDAO
encryptionService IEncryptionService
emailService IMessageSender
return System

ValidateLogin() public method

public ValidateLogin ( string userId, string password ) : void
userId string
password string
return void