1. Home
  2. ...
  3. Security Interceptors
  4. Access Token Validation

Access Token Validation

Validation of the access token code informed in the request.

This interceptor validates the access token code in the request based on the following parameters (which must be informed, as the image below shows).

  • name;
  • location (may be header, cookie, header or cookie, query param or any of these);
  • grant types available for the API (password, authorization code, client credentials, implicit and JWT).

The property Response Content-Type gives the option of data being returned in application/json or text/plain formats.

NOTE

If your API returns the status code 401 Unauthorized when using this interceptor, the token may be invalid. See more details on this page of our FAQs.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more