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. |
|||
last_login_ts |
uint64 |
- |
- |
Last time the account was used to login as observed on system time. This is just for information purposes and might not be reliable. |
|||
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. |