Account

An account identifies a single user defined on the Qb2 device. By presenting credentials linked to an account a client can be authenticated.

Table 1. Available fields in blickfeld.secure.config.Account
Field Type Default Unit

name

string

-

-

Account name. This field is used as the username during login.

access_level

base.AccessControl.Level

-

-

Access level which is granted to this account.

access_read_only

bool

-

-

If true, this account has read-only access permissions.

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

State

-

-

The account state.

Application Key Entry

Table 2. Available fields in blickfeld.secure.config.Account.ApplicationKeyEntry
Field Type Default Unit

key

string

-

-

value

ApplicationKey

-

-

State

Account state

Table 3. Available values for blickfeld.secure.config.Account.State enum
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.