Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Authorization in Intellect Axxon PSIM using a token key provides the following capabilities:

  • To specify a token in the "token" parameter in a url request instead of specifying the "login" and "password" parameters.

    Example of a video request with authorization in Intellect Axxon PSIM using a token key:

    Code Block
    languagexml
    http://127.0.0.1:80/video/action.do?normalize=true&version=4.10.0.0&video_in=CAM:1&token=EoHWC_zXFILImB0hL4QgjPc5624cJXMF


  • To use the Bearer Token Authentication in the "Authorization" parameter in the request header.

    Example:

    Code Block
    languagexml
    Authorization: Bearer PJ_eHSwUsqjXX7PRZMB8hm_zKEnCg3hE" 


...

Parameter

Is required

Description

login NoUser login in Intellect Axxon PSIM, if specified
passwordNoUser password in Intellect Axxon PSIM, if specified
expires_inNo

Token validity time in seconds. The maximum value is 1 day. The token expires after a specified period of time.

The default value is 1800.

To log out, specify the value 0.

Note. There can be only 1 token for each user.

...