2026-02-24 20:44:16 +00:00
// Backend ile ayni, degistirilmemeli
const PlatformLoginResultType = {
Succeeded : 10 , //+
Failed : 11 , // + Mesaj: InvalidUserNameOrPassword, Geçersiz kullanı cı adı veya parola!
LockedOut : 12 , //+ LockoutEnd:true, LockoutEnd>Today Mesaj: UserLockedOutMessage Hesap kilitli
NotAllowed : 13 , //+ EmailConfirmed:false -> Buton: Doğrulama Kodunu Tekrar Gönder, Mesaj: LoginIsNotAllowed Hesabı nı z etkin değil, Identity:ResendEmailConfirmedError
RequiresTwoFactor : 14 , //+ TwoFactorEnabled:true, Sayfa: TwoFactor
WrongTwoFactorCode : 15 , //+ Mesaj: WrongTwoFactorCode
ShouldChangePasswordOnNextLogin : 16 , // ShouldChangePasswordOnNextLogin:true, Sayfa: Şifre Yenileme, Mesaj: Şifre değiştirmelisiniz
ShouldChangePasswordPeriodic : 17 , // LastPasswordChangeTime:<Today+PasswordChangePeriodDays, Sayfa: Şifre Yenileme, Mesaj: Şifre değiştirmelisiniz
NotVerified : 18 , // IsVerified:true, Mesaj: Identity:UserNotVerifiedMessage
NotAllowedIp : 19 , // IpRestriction tablosu, Mesaj: Identity:IpRestrictionError
LoginEndDateDue : 20 , // LoginEndDate:>Today, Buton: ShowExtendMyLoginButton, Mesaj: Identity:LoginEndDateError, >LoginEndDate
ShowCaptcha : 21 , // AccessFailedCount>AccountCaptchaMaxFailedAccessAttempts, Sayfa: Show Captcha
2026-04-27 13:02:09 +00:00
ConcurrentUserLimit : 22 , // MaxConcurrentUsers limiti dolduğunda, Mesaj: Identity:ConcurrentUserLimitError
2026-02-24 20:44:16 +00:00
}
export default PlatformLoginResultType