Record: IssuerConfig

Represents JWT issuer configurations.

Closed record

Fields

  • issuer string?
  • JWT issuer, which is mapped to the iss

  • username string?
  • JWT username, which is mapped to the sub

  • audience string | string[ ]?
  • JWT audience, which is mapped to the aud

  • jwtId string?
  • JWT ID, which is mapped to the jti

  • keyId string?
  • JWT key ID, which is mapped the kid

  • customClaims map<json>?
  • Map of custom claims

  • expTime decimal(default 300)
  • Expiry time in seconds

  • signatureConfig IssuerSignatureConfig?
  • JWT signature configurations