pub(super) fn to_login(
creation_date: DateTime<Utc>,
basic_auth: Option<&BasicAuthCredential>,
passkey: Option<&PasskeyCredential>,
totp: Option<&TotpCredential>,
generated_password: Option<&GeneratedPasswordCredential>,
scope: Option<&CredentialScope>,
) -> (Login, Vec<Field>)Expand description
Convert CXF login related credentials to a Bitwarden Login.
Returns the login together with any additional custom fields that should be added to the cipher, e.g. a generated password that conflicts with the basic auth password.