UserLoginStrategy - класс

Объект, определяющий правила блокировки сотрудника после успешного или неуспешного логина / изменения пароля.

Definition

Пространство имён: Tessa.Platform.Runtime
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public sealed class UserLoginStrategy : IUserLoginStrategy
Inheritance
Object    UserLoginStrategy
Implements
IUserLoginStrategy

Конструкторы

UserLoginStrategy Создаёт экземпляр класса с указанием его зависимостей.

Методы

BlockUserIfRequiredAndGetExceptionAsync Метод вызывается при неверно введённом пароле. Блокирует пользователя, если этого требуют настройки, и возвращает исключение с кодом ошибки в случае блокировки пользователя.
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)
UpdateSecurityOnSuccessfulLoginAsync Метод вызывается после корректно введённого пароля. Обнуляет счётчики неудачных попыток ввода.

См. также