Skip to main content

Interface: ValidateTokenResponse

Types.ValidateTokenResponse

Export

Interface

ValidateTokenResponse

Properties

expires_at

Optional expires_at: Date

Token expiration time in UTC. This value is not present if token is not valid (valid field == false) or expired.

Memberof

ValidateTokenResponse


expires_in_seconds

Optional expires_in_seconds: number

JWT token validity. This value is not present if the token is not valid (valid field == false).

Memberof

ValidateTokenResponse


invalidity_reason

Optional invalidity_reason: ValidateTokenResponseInvalidityReasonEnum

If the token is invalid, this field contains the reason.

Memberof

ValidateTokenResponse


valid

valid: boolean

True if token is genuine and has not expired yet, false otherwise.

Memberof

ValidateTokenResponse