Validate a Token through a URL

An API token validation call is a security check used to confirm a token's authenticity and ensure it has the proper permissions. Extensibility tokens can be validated through a call to the Public Access site. This token validation feature is only available for HTML and Div widgets. This provides another way for customers and business partners to validate tokens from custom widgets in Public Access.

PREREQUISITES:

  • You must have the Public Site Admin check box selected in Admin. See Users in the Admin Guide for Trimble Unity Maintain and Trimble Unity Permit for more information.
  • The Site Configuration security function must be selected in Admin for the security role you belong to. See Security Roles in the Admin Guide for Trimble Unity Maintain and Trimble Unity Permit for more information.
  • The Public Access Role security function must be turned on in Admin for the security role you belong to. See Security Roles in the Admin Guide for Trimble Unity Maintain and Trimble Unity Permit for more information.

IMPORTANT: The way the tokens are validated has changed slightly, and code validated prior to Trimble Unity Permit Public Access 9.0 must be updated to ensure continued functionality. Please check the provided script examples for more details.

You can validate an extensibility token by making a direct call to the Public Access site. This provides an easy alternative to writing your own token validation code.

  1. The URL to validate a token is https://myServer/myPAsite/services/extensibility/validatesignaturetoken?token={token}. Replace {token} with the token from your custom widget.