Skip to content

Conversation

@david-livefront
Copy link
Collaborator

@david-livefront david-livefront commented Sep 30, 2025

🎟️ Tracking

PM-26358

📔 Objective

This PR creates a bridge between the SDK and the network layer in order to allow the SDK to retrieve an updated auth token.

⏰ 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

@david-livefront david-livefront added the hold do not merge yet label Sep 30, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 30, 2025

Logo
Checkmarx One – Scan Summary & Details35001e23-d467-4540-8928-559a8e54d5ae

Great job! No new security vulnerabilities introduced in this pull request

@codecov
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.41%. Comparing base (874edfa) to head (3f9b485).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
...rden/data/platform/manager/SdkClientManagerImpl.kt 0.00% 9 Missing ⚠️
.../bitwarden/network/interceptor/AuthTokenManager.kt 89.74% 1 Missing and 3 partials ⚠️
...itwarden/data/auth/manager/AuthTokenManagerImpl.kt 80.00% 0 Missing and 2 partials ⚠️
...ator/data/platform/manager/SdkClientManagerImpl.kt 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5967   +/-   ##
=======================================
  Coverage   84.40%   84.41%           
=======================================
  Files         719      720    +1     
  Lines       54790    54798    +8     
  Branches     7530     7531    +1     
=======================================
+ Hits        46247    46256    +9     
  Misses       5904     5904           
+ Partials     2639     2638    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@david-livefront david-livefront force-pushed the PM-26358-sdk-auth-token branch from 693cd10 to 3f9b485 Compare October 1, 2025 21:59
assertNull(authTokenManager.getAuthTokenDataOrNull())
}
@Nested
inner class WithUserId {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@david-livefront
Copy link
Collaborator Author

Thanks @SaintPatrck

@david-livefront david-livefront removed the hold do not merge yet label Oct 7, 2025
@david-livefront david-livefront added this pull request to the merge queue Oct 7, 2025
Merged via the queue into main with commit cd9c7f9 Oct 7, 2025
9 checks passed
@david-livefront david-livefront deleted the PM-26358-sdk-auth-token branch October 7, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants