2026-02-24 20:44:16 +00:00
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Platform.Identity;
|
|
|
|
|
|
|
|
|
|
|
|
public static class PlatformEventIds
|
|
|
|
|
|
{
|
|
|
|
|
|
public static EventId UserCannotSignInWithoutVerifiedAccount =
|
|
|
|
|
|
new(10, PlatformConsts.UserCannotSignInErrors.LoginNotAllowed_NotVerified);
|
|
|
|
|
|
|
|
|
|
|
|
public static EventId UserCannotSignInWithoutAllowedIp =
|
|
|
|
|
|
new(13, PlatformConsts.UserCannotSignInErrors.LoginNotAllowed_NotAllowedIp);
|
|
|
|
|
|
|
|
|
|
|
|
public static EventId UserCannotSignInLoginEndDateDue =
|
|
|
|
|
|
new(14, PlatformConsts.UserCannotSignInErrors.LoginNotAllowed_LoginEndDateDue);
|
|
|
|
|
|
|
|
|
|
|
|
public static EventId ShouldChangePasswordOnNextLogin =
|
|
|
|
|
|
new(15, PlatformConsts.UserCannotSignInErrors.ShouldChangePasswordOnNextLogin);
|
|
|
|
|
|
|
|
|
|
|
|
public static EventId ShouldChangePasswordPeriodic =
|
|
|
|
|
|
new(16, PlatformConsts.UserCannotSignInErrors.ShouldChangePasswordPeriodic);
|
|
|
|
|
|
|
|
|
|
|
|
public static EventId UserCannotSignInTenantIsPassive =
|
|
|
|
|
|
new(17, PlatformConsts.UserCannotSignInErrors.LoginNotAllowed_TenantIsPassive);
|
2026-03-11 13:23:49 +00:00
|
|
|
|
|
|
|
|
|
|
public static EventId UserCannotSignInWorkHour =
|
|
|
|
|
|
new(18, PlatformConsts.UserCannotSignInErrors.LoginNotAllowed_WorkHour);
|
2026-02-24 20:44:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|