Module login

Module login 

Source
Expand description

Login credential conversion

Handles conversion between internal Login and credential exchange [BasicAuthCredential] and [PasskeyCredential].

Enums§

PasskeyError

Constants§

ANDROID_APP_SCHEME 🔒
Prefix that indicates the URL is an Android app scheme.

Functions§

convert_otp_algorithm 🔒
Convert CXF OTPHashAlgorithm to Bitwarden’s TotpAlgorithm Handles standard algorithms and special cases like Steam
create_login_uri 🔒
Creates a LoginUri from a URL string
passkey_rp_id_to_uri 🔒
Creates URIs from a passkey’s rp_id, adding https:// prefix for domain-like strings
to_fields 🔒
Converts a CredentialScope to a vector of Field objects.
to_login 🔒
to_uris 🔒
Converts a CredentialScope to a vector of LoginUri objects.
totp_credential_to_totp 🔒
Convert CXF TotpCredential to Bitwarden’s Totp struct This ensures we use the exact same encoding and formatting as Bitwarden’s core implementation