import { TwoFactorProviderType } from "../../enums/twoFactorProviderType"; import { Utils } from "../../misc/utils"; export class AuthResult { captchaSiteKey = ""; resetMasterPassword = false; forcePasswordReset = false; twoFactorProviders: Map = null; get requiresCaptcha() { return !Utils.isNullOrWhitespace(this.captchaSiteKey); } get requiresTwoFactor() { return this.twoFactorProviders != null; } }