# getAuthInfo
Description: obtain information about the protection type for administrator and user accounts.
Request example:
{ "method" : "getAuthInfo", "requestId" : "1" }
Copied!
Response example:
{ "method": "getAuthInfo", "requestId" : "1", "adminAuth": { "security": "password" }, "userAuth": { "security": "pin", "pin": "396" }, "result": true }
Copied!
Parameter description:
security
— account protection type. It can be as follows:password
- Password authorizationpin
- PIN-based authorizationunsecured
- Unprotected authorization
pin
— PIN. This field is present ifPIN authentication
is used and if a connection is authorized as anadministrator
requestId
- a unique request identifier. You can learn more about it here.
See also: