TwurpleAuthenticationGetting dataExamplesFAQMigration

createExtensionSecret

Definition

createExtensionSecret(config, delay)

async

Creates a new extension secret.

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).

delaynumbernone

The delay after which extension frontends will use the new secret. Defaults to 300 seconds.

Return type: HelixExtensionSecretList