bitwarden_core::secrets_manager::state

Function set

Source
pub(crate) fn set(
    state_file: &Path,
    access_token: &AccessToken,
    state: ClientState,
) -> Result<(), StateFileError>
Expand description

Serializes and encrypts the state using the provided access token.