18 lines
1.4 KiB
TypeScript
18 lines
1.4 KiB
TypeScript
// 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
|
||
ConcurrentUserLimit: 22, // MaxConcurrentUsers limiti dolduğunda, Mesaj: Identity:ConcurrentUserLimitError
|
||
}
|
||
|
||
export default PlatformLoginResultType
|