Represents an instance with an optional lifecycle method. This interface defines a structure for an object that may optionally include a method to handle clean-up or teardown operations when the instance is no longer needed.

Instance

Implements

Constructors

Methods

  • Parameters

    • username: string
    • password: string

    Returns Promise<{ authId: string; authToken: string }>