NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Authentication/JWT (JSON Web Token) → Validate JWT Format

AI-generated

Summary

Validate JWT format locally without sending token to server

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • ValidateJwtFormat__token (required) — JWT token to decode and validate locally. The token is not sent to the server.

Output shape

a boolean indicating whether the JWT format is valid

Validation is performed client‑side; no network request is made. Errors are thrown as exceptions, otherwise the operation returns true.

Examples

Example 1: Validate a JWT from a previous node

Set Refresh Dropdown Cache to false; map token to field 'ValidateJwtFormat__token'

Example 2: Check token format before sending to another operation

Enable Refresh Dropdown Cache if token source may change; assign token to 'ValidateJwtFormat__token'

Links

Discussion