[PR #5128] [MERGED] [PM-21199] Rename FIDO2 objects to reference CredentialManager #5504

Closed
opened 2025-11-27 00:07:17 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/5128
Author: @SaintPatrck
Created: 5/5/2025
Status: Merged
Merged: 5/7/2025
Merged by: @SaintPatrck

Base: mainHead: credential-manager/rename-fido2-objects


📝 Commits (1)

  • e5976a1 [PM-21199] Rename FIDO2 objects to reference CredentialManager

📊 Changes

81 files changed (+1501 additions, -1512 deletions)

View changed files

📝 app/src/main/AndroidManifest.xml (+3 -3)
📝 app/src/main/java/com/x8bit/bitwarden/BitwardenAppComponentFactory.kt (+3 -3)
📝 app/src/main/java/com/x8bit/bitwarden/MainViewModel.kt (+18 -18)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/BitwardenCredentialProviderService.kt (+5 -5)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/datasource/network/di/CredentialProviderNetworkModule.kt (+2 -2)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/di/CredentialProviderModule.kt (+18 -20)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/BitwardenCredentialManager.kt (+8 -8)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/BitwardenCredentialManagerImpl.kt (+13 -31)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/OriginManager.kt (+4 -4)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/OriginManagerImpl.kt (+17 -17)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/CreateCredentialRequest.kt (+3 -3)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2AttestationResponse.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2CredentialAssertionRequest.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2CredentialAssertionResult.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2PublicKeyCredential.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2RegisterCredentialResult.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/GetCredentialsRequest.kt (+2 -2)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/GetCredentialsResult.kt (+4 -4)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/PasskeyAssertionOptions.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/credentials/model/PasskeyAttestationOptions.kt (+1 -1)

...and 61 more files

📄 Description

🎟️ Tracking

PM-21199

📔 Objective

Objects that contained references to FIDO 2 credentials are renamed to reflect generic Credential Manager processing. This change prepares related classes for the introduction of password credential management through the CredentialManager APIs. Classes that deal exclusively with FIDO2 requests retained their FIDO2 naming.

Also, CredentialManager related objects have been moved from autofill.fido2.* package to credentials.*.

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/5128 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 5/5/2025 **Status:** ✅ Merged **Merged:** 5/7/2025 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `credential-manager/rename-fido2-objects` --- ### 📝 Commits (1) - [`e5976a1`](https://github.com/bitwarden/android/commit/e5976a1461e02b1e5b7725088337db7f4725695b) [PM-21199] Rename FIDO2 objects to reference CredentialManager ### 📊 Changes **81 files changed** (+1501 additions, -1512 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/AndroidManifest.xml` (+3 -3) 📝 `app/src/main/java/com/x8bit/bitwarden/BitwardenAppComponentFactory.kt` (+3 -3) 📝 `app/src/main/java/com/x8bit/bitwarden/MainViewModel.kt` (+18 -18) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/BitwardenCredentialProviderService.kt` (+5 -5) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/datasource/network/di/CredentialProviderNetworkModule.kt` (+2 -2) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/di/CredentialProviderModule.kt` (+18 -20) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/BitwardenCredentialManager.kt` (+8 -8) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/BitwardenCredentialManagerImpl.kt` (+13 -31) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/OriginManager.kt` (+4 -4) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/manager/OriginManagerImpl.kt` (+17 -17) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/CreateCredentialRequest.kt` (+3 -3) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2AttestationResponse.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2CredentialAssertionRequest.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2CredentialAssertionResult.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2PublicKeyCredential.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/Fido2RegisterCredentialResult.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/GetCredentialsRequest.kt` (+2 -2) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/GetCredentialsResult.kt` (+4 -4) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/PasskeyAssertionOptions.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/credentials/model/PasskeyAttestationOptions.kt` (+1 -1) _...and 61 more files_ </details> ### 📄 Description ## 🎟️ Tracking PM-21199 ## 📔 Objective Objects that contained references to FIDO 2 credentials are renamed to reflect generic Credential Manager processing. This change prepares related classes for the introduction of password credential management through the CredentialManager APIs. Classes that deal exclusively with FIDO2 requests retained their FIDO2 naming. Also, `CredentialManager` related objects have been moved from `autofill.fido2.*` package to `credentials.*`. ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-27 00:07:17 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#5504