A wrapper for the Foxogram authentication API.

Constructors

Methods

  • Logs into the user's account.

    Parameters

    • body: RESTPostAPIAuthLoginBody

    Returns Promise<APIToken>

  • Registers a new user.

    Parameters

    • body: RESTPostAPIAuthRegisterBody

    Returns Promise<APIToken>

  • Resends the confirmation email.

    Returns Promise<APIOk>

  • Resets user's password.

    Parameters

    • body: RESTPostAPIAuthResetPasswordBody

    Returns Promise<APIOk>

  • Confirms resetting user password.

    Parameters

    • body: RESTPostAPIAuthResetPasswordConfirmBody

    Returns Promise<APIOk>

  • Confirms the user's email.

    Parameters

    • body: RESTPostAPIAuthVerifyEmailBody

    Returns Promise<APIOk>