TwurpleAuthenticationGetting dataExamplesFAQMigration

ExternalJwtConfig

Configuration to create an external JWT.

{
additionalData?: Record<string, unknown>
The user ID of the extension's owner.
ownerId: string
A valid extension secret to sign the JWT with.
secret: string
The time the JWT should be valid for, in seconds.
ttl?: number
}

Properties

additionalData

Type: ?Record<string, unknown>

ownerId

Type: string

The user ID of the extension's owner.

secret

Type: string

A valid extension secret to sign the JWT with.

ttl

Type: ?number

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

Defaults to 1 minute (60 seconds).