CfTokenVerification
Defined in: tokens/tokens.ts:4
The result of verifying the API token in use.
Properties
Section titled “Properties”expires_on?
Section titled “expires_on?”
optionalexpires_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.
not_before?
Section titled “not_before?”
optionalnot_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
Section titled “status”status:
"active"|"disabled"|"expired"
Defined in: tokens/tokens.ts:8
Whether the token is active, disabled or expired.