Interface OauthClient

The OauthClient can be implemented to perform the browser based Oauth process from within a plugin.

Hierarchy

  • OauthClient

Methods

  • Get the Oauth URL to navigate to in the browser. The redirect_uri parameter is not needed and will be automatically set by Scrypted.

    Returns Promise<string>

  • When an oauth request by a plugin completes, the callback url, with the code/token, will be passed to this method.

    Parameters

    • callbackUrl: string

    Returns Promise<void>

Generated using TypeDoc