OAuth 2.0 client.

Hierarchy

  • OAuth2Client

Methods

  • Calls the authorize URL with an iframe. If successful, it returns the callback URL with authentication code, optionally using PKCE. Method renamed in v3. Original Name: getAuthorizeUrl New Name: getAuthCodeByIframe

    Parameters

    Returns Promise<string>

  • Type Parameters

    • T

    Parameters

    • response: Response

    Returns Promise<string | T>

Constructors