Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UserPasswordAuthParams

Hierarchy

Index

Methods

  • password(hint?: string): Promise<string>
  • optional string or callback that should return the 2FA password if present.
    the password hint will be sent in the hint param

    Parameters

    • Optional hint: string

    Returns Promise<string>

  • onError(err: Error): void | Promise<boolean>
  • when an error happens during auth this function will be called with the error.
    if this returns true the auth operation will stop.

    Parameters

    • err: Error

    Returns void | Promise<boolean>

Generated using TypeDoc