Skip to main content

## storage_save_user

# Function storage_save_user

Source

    pub async fn storage_save_user(
        db: State<'_, DatabaseWrapper>,
        creds: State<'_, CredentialStoreWrapper>,
        id: String,
        server_id: String,
        username: String,
        access_token: Option<String>,
    ) -> Result<bool, String>

Expand description

Save a user account (token stored in secure storage, not database)