Account
An account identifies a single user defined on the Qb2 device. By presenting credentials linked to an account a client can be authenticated.
Field | Type | Default | Unit |
---|---|---|---|
name |
string |
- |
- |
Account name. This field is used as the username during login. |
|||
access_level |
- |
- |
|
Access level which is granted to this account. |
|||
access_read_only |
bool |
- |
- |
If true, this account has read-only access permissions. |
|||
failed_login_attempts |
uint32 |
- |
- |
Counter for failed login attempts. If this value exceeds a configured threshold the account will be blocked. |
|||
state |
- |
- |
|
The account state. |
Application Key Entry
Field | Type | Default | Unit |
---|---|---|---|
key |
string |
- |
- |
value |
- |
- |
State
Account state
Name | Value | Description |
---|---|---|
STATE_UNSPECIFIED |
0 |
status is unspecified. |
STATE_WAITING_FOR_ACTIVATION |
1 |
waiting for activation, account has to be activated by the user. |
STATE_ACTIVE |
2 |
active, account can be used to authenticate. |
STATE_BLOCKED |
3 |
blocked, account can not be used for authentication. |