Options
All
  • Public
  • Public/Protected
  • All
Menu

JwtGenerator initialization options.

Hierarchy

  • IJwtGeneratorOptions

Index

Properties

accessTokenSigner

accessTokenSigner: IAccessTokenSigner

Object used to generate signatures of tokens.

apiKey

apiKey: IPrivateKey

API Private key from Virgil Dashboard to be used to generate signatures of tokens.

apiKeyId

apiKeyId: string

ID of the API Key from Virgil Dashboard.

appId

appId: string

Application ID from Virgil Dashboard. This will be the value of the Issuer field in generated tokens.

Optional millisecondsToLive

millisecondsToLive: undefined | number

Time to live in milliseconds of the tokens created by this generator. Optional. Default is 20 * 60 * 1000 (20 minutes).