bitwarden_vault::totp

Function generate_totp_cipher_view

source
pub fn generate_totp_cipher_view(
    enc: &dyn KeyContainer,
    view: CipherListView,
    time: Option<DateTime<Utc>>,
) -> Result<TotpResponse, TotpError>
Expand description

Generate a OATH or RFC 6238 TOTP code from a provided CipherListView.

See generate_totp for more information.