Type alias AuthResult

AuthResult: {
    isNewUser?: boolean;
    needsRecoveryCode?: boolean;
    user?: InitializedUser;
    verifyOTP?: ((otp, recoveryCode?) => Promise<AuthResult>);
}

Type declaration

  • Optional isNewUser?: boolean
  • Optional needsRecoveryCode?: boolean
  • Optional user?: InitializedUser
  • Optional verifyOTP?: ((otp, recoveryCode?) => Promise<AuthResult>)
      • (otp, recoveryCode?): Promise<AuthResult>
      • Parameters

        • otp: string
        • Optional recoveryCode: string

        Returns Promise<AuthResult>

Generated using TypeDoc