# authorizationNeeded

Description: notification of the need to re-authorize the connection. For example, due to a change in the type of security.

Example:

{
    "method": "event",
    "event": "authorizationNeeded",
    "cause": 2
}

Parameter description:

  • cause — the cause of logout. The following values are possible:

    • 1 — authorization of a different user in this control mode (administrator or user). Only one at a time is possible.

    • 2 — the authorization type for the user was reset because the protection type unsecured had been set for the administrator (the level of protection for administrator cannot be lower than the level for the user)

    • 3— the administrator’s credentials were changed by the administrator

    • 4— the user’s credentials were changed by the administrator

    • 5— the user’s credentials were changed by the user

    • 6 — this type of account is unavailable due to current license restrictions

    • 7 — a user’s PIN was automatically changed after a communication session

    • 8 — A token set according to the current authorization type has expired

See also: