27 lines
1,009 B
C#
27 lines
1,009 B
C#
|
|
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);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|