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

Inheritance: IUserAccountService
Afficher le fichier Open project: kkrac/ProSpec

Méthodes publiques

Méthode 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

Méthode Description
IsTemporaryAccountValid ( string userId, string token ) : bool

Method Details

ActivateAccount() public méthode

public ActivateAccount ( string userId, string token ) : bool
userId string
token string
Résultat bool

CreateAccount() public méthode

public CreateAccount ( ISampleUser user, string password, string passwordConfirmation, bool acceptsTerms ) : void
user ISampleUser
password string
passwordConfirmation string
acceptsTerms bool
Résultat void

UserAccountService() public méthode

public UserAccountService ( IUserAccountDAO dao, IEncryptionService encryptionService, IMessageSender emailService ) : System
dao IUserAccountDAO
encryptionService IEncryptionService
emailService IMessageSender
Résultat System

ValidateLogin() public méthode

public ValidateLogin ( string userId, string password ) : void
userId string
password string
Résultat void