erp-platform/api/src/Kurs.Platform.HttpApi.Host/Identity/PlatformEventIds.cs
2025-05-29 16:25:02 +03:00

25 lines
1,005 B
C#

using Microsoft.Extensions.Logging;
namespace Kurs.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);
}