C# Класс Sample.Domain.Services.Implementations.UserAccountService

Наследование: IUserAccountService
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
IsTemporaryAccountValid ( string userId, string token ) : bool

Описание методов

ActivateAccount() публичный Метод

public ActivateAccount ( string userId, string token ) : bool
userId string
token string
Результат bool

CreateAccount() публичный Метод

public CreateAccount ( ISampleUser user, string password, string passwordConfirmation, bool acceptsTerms ) : void
user ISampleUser
password string
passwordConfirmation string
acceptsTerms bool
Результат void

UserAccountService() публичный Метод

public UserAccountService ( IUserAccountDAO dao, IEncryptionService encryptionService, IMessageSender emailService ) : System
dao IUserAccountDAO
encryptionService IEncryptionService
emailService IMessageSender
Результат System

ValidateLogin() публичный Метод

public ValidateLogin ( string userId, string password ) : void
userId string
password string
Результат void