Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QrCodeAuthParams

Hierarchy

Index

Methods

  • password(hint?: string): Promise<string>
  • qrCode(qrCode: { token: Buffer; expires: number }): Promise<void>
  • a qrCode token for login through qrCode.
    this would need a QR code that you should scan with another app to login with.

    Parameters

    • qrCode: { token: Buffer; expires: number }
      • token: Buffer
      • expires: number

    Returns Promise<void>

  • onError(err: Error): void | Promise<boolean>

Generated using TypeDoc