# getAuthInfo

Description: obtain information about the protection type for administrator and user accounts.

Request example:

{
    "method" : "getAuthInfo",
    "requestId" : "1"
}

Response example:

{
    "method": "getAuthInfo",
    "requestId" : "1",
    "adminAuth": {
        "security": "password"
    },
    "userAuth": {
        "security": "pin",
        "pin": "396"
    },
    "result": true
}

Parameter description:

  • security — account protection type. It can be as follows:

    • password - Password authorization

    • pin - PIN-based authorization

    • unsecured - Unprotected authorization

  • pin — PIN. This field is present if PIN authentication is used and if a connection is authorized as an administrator

  • requestId - a unique request identifier. You can learn more about it here.

See also: