totp_credential_to_totp

Function totp_credential_to_totp 

Source
fn totp_credential_to_totp(cxf_totp: &TotpCredential) -> Totp
Expand description

Convert CXF TotpCredential to Bitwarden’s Totp struct This ensures we use the exact same encoding and formatting as Bitwarden’s core implementation