Skip to content

isopruefi-frontend v1.0.0


isopruefi-frontend / utils/tokenHelpers / JwtPayload

Interface: JwtPayload

Defined in: utils/tokenHelpers.ts:10

Standard JWT payload structure with common claims.
Extends to allow additional custom claims from the authentication system.

Indexable

[key: string]: unknown

Allow additional custom claims

Properties

exp?

optional exp: number

Defined in: utils/tokenHelpers.ts:14

Expiration time (Unix timestamp)


iat?

optional iat: number

Defined in: utils/tokenHelpers.ts:16

Issued at time (Unix timestamp)


sub?

optional sub: string

Defined in: utils/tokenHelpers.ts:12

Subject (usually user ID or username)