# getAuthInfo
Description
Obtain information about the protection type for adiministrator and user accounts
void getAuthInfo()
Response example
{
"method": "getAuthInfo",
"requestId" : "1",
"adminAuth": {
"security": "password"
},
"userAuth": {
"security": "pin",
"pin": "396"
},
"result": true
}
Response Parameters
Name | 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 |
result | A flag indicating whether the request was successful |
See also