interface JTIValidationResult

JTI validation result

Properties

valid: boolean

Whether the JTI is valid (unique and not expired)

optional
error: string

Error message if invalid

optional
isReplay: boolean

Whether the JTI was already used (replay attack)

Usage

import { type JTIValidationResult } from ".";