Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

create_users_database

Function create_users_database 

Source
pub async fn create_users_database(
    instance: &Instance,
    device_signing_key: &PrivateKey,
) -> Result<Database>
Expand description

Create the _users system database

This database stores the user directory mapping user_id -> UserInfo. Auth is bootstrapped by Database::create with the device key as Admin(0).

§Arguments

  • instance - The Instance handle
  • device_signing_key - The device’s Ed25519 signing key

§Returns

The created _users Database