Callback: ((error, user) => void)

Type declaration

    • (error, user): void
    • Callback for error or success responses.

      • On failure: passes an Error object as the first argument and null as the second.
      • On success: passes null as the first argument and a User object as the second.

      Parameters

      • error: Error | null
      • user: User | null

      Returns void

Generated using TypeDoc