Skip to content

CfTokenVerification

Defined in: tokens/tokens.ts:4

The result of verifying the API token in use.

optional expires_on?: string

Defined in: tokens/tokens.ts:10

When the token expires (ISO 8601), absent for a token that never does.


id: string

Defined in: tokens/tokens.ts:6

The token’s identifier.


optional not_before?: string

Defined in: tokens/tokens.ts:12

When the token becomes valid (ISO 8601), absent when it was not set. Not the creation time, but where it starts.


status: "active" | "disabled" | "expired"

Defined in: tokens/tokens.ts:8

Whether the token is active, disabled or expired.