Object to handle JWT authentication when performing the test.

Hierarchy

  • SyntheticsBasicAuthJWT

Constructors

Properties

Standard JWT claims to automatically inject.

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any

Algorithm to use for the JWT authentication.

expiresIn?: number

Token time-to-live in seconds.

header?: string

Custom JWT header as a JSON string.

payload: string

JWT claims as a JSON string.

secret: string

Signing key for the JWT authentication. Use the shared secret for HS256 or the private key (PEM format) for RS256 and ES256.

tokenPrefix?: string

Prefix added before the token in the Authorization header. Defaults to Bearer.

The type of authentication to use when performing the test.

Generated using TypeDoc