Expand description
Login credential conversion
Handles conversion between internal Login and credential exchange [BasicAuthCredential] and [PasskeyCredential].
Enums§
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
CredentialScopeto a vector ofFieldobjects. - to_
login 🔒 - to_uris 🔒
- Converts a
CredentialScopeto a vector ofLoginUriobjects. - 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