TwurpleAuthenticationGetting dataExamplesFAQMigration

getExtension

Definition

getExtension(config, version)

async

Feetches details about the extension.

ParameterTypeRequiredDefaultDescription
configEbsCallConfignonesee below
config.clientIdstringnone

The client ID of the extension.

config.ownerIdstringnone

The user ID of the extension's owner.

config.secretstringnone

A valid extension secret to sign the JWT with.

config.ttlnumbernone

The time the JWT should be valid for, in seconds.

Defaults to 1 minute (60 seconds).

versionstringnone

The extension version to fetch details for.

If not given, fetches the details of the latest released version.

Return type: HelixExtension | null