interface ESPOauthAdapterInterface {
    getOauthCode(requestURL: string): Promise<string>;
}

Methods

Methods

  • Retrieve the OAuth code by opening the request URL in a new browser window and handles the listening for the code at the redirect URL and returns the code.

    Parameters

    • requestURL: string

      The request URL to open in a new browser window.

    Returns Promise<string>

    The OAuth code.