Definition
createExtensionSecret(config, delay)
asyncCreates a new extension secret.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
config | EbsCallConfig | none | see below | |
config.clientId | string | none | The client ID of the extension. | |
config.ownerId | string | none | The user ID of the extension's owner. | |
config.secret | string | none | A valid extension secret to sign the JWT with. | |
config.ttl | number | none | The time the JWT should be valid for, in seconds. Defaults to 1 minute (60 seconds). | |
delay | number | none | The delay after which extension frontends will use the new secret. Defaults to 300 seconds. |
Return type: HelixExtensionSecretList