Class LegacyAuthClient

This class represents a the legacy (username and password) auth client. This login method is being deprecated in favor of OAuth which is implemented through PersonalAuthClient instead.

Deprecated

  • This login method is being replaced by OAuth

Hierarchy

  • LegacyAuthClient

Implements

Constructors

Properties

data: LoginData

Methods

  • Check if the current session token is valid by asking MangaDex

    Returns Promise<boolean>

  • Refresh the access token and update the token data for this client

    Returns Promise<void>

Generated using TypeDoc