* ChangePassword - add TODOs to clean up code
* LoginComp - Add TODOs for identifying the login strategy ahead of time.
* DefaultOpaqueService - Add TODOs
* PasswordLoginStrategy - add TODO for renaming
* WIP first draft of opaque login strategy
* Per discussion with platform, we don't need an abstraction for api services so clean that up.
* Extract pre-login method into own service from ApiService + move request model to auth
* LoginStrategyService - add todo for adding support for opaque login strategy
* PreLoginApiService - add renaming todo
* LoginComp + PasswordLoginCredentials - (1) Start integrating pre-login logic into login comp (2) update PasswordLoginCredentials to include kdfConfig to pass into login strat
* LoginStrategyServiceAbstraction - login - add OpaqueLoginCredentials
* CLI - add todos
* LoginComp - add TODO
* Add createKdfConfig factory function
* LoginStrategyService: switch out to more specific password strategy
* Fix type errors
* Add jsdoc
* Revert / remove TODOs and old draft work
* add missing dep
* PreLoginResponse - Adjust KM import
* PreLogin renamed to PrePasswordLogin
* Renames + some login strategy service test updates
* LoginComp - remove unused import
* KdfConfig - Rename validateKdfConfigForPrelogin to validateKdfConfigForPreLogin
* LoginStrategyService - (1) Rename makePreloginKey to makePrePasswordLoginMasterKey (2) Refactor makePrePasswordLoginMasterKey to accept an optional KdfConfig so we can keep the logic tested on the LoginStrategyService
* LoginStrategyService - add TODOs
* Fix non-sdk build errors
---------
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
Refactor toast calls out of auth services. Toasts are now triggered by an observable emission that gets picked up by an observable pipeline in a new `DeviceTrustToastService` (libs/angular). That observable pipeline is then subscribed by by consuming the `AppComponent` for each client.
Removes `unauthUiRefreshSwap()` from all routing modules for all refreshed components except for 2FA. This does not remove the legacy components themselves, just the routing to them.
---------
Co-authored-by: Todd Martin <tmartin@bitwarden.com>
* remove min-width on body element for extension prompt page
* reset meta viewport content for extension prompt page
* set max width of svg to avoid any overflow on mobile devices
* use inline display to avoid icon overflow on mobile devices
* use max width on the icon to fix overflow rather than editing the anon layout
* feat(pm-15015) :
- Adding `requestCountryName` to auth requests dialogs, and response models.
- Updated i18n messages.json in Web, Browser, and Desktop to include "Location" translation.
* PM-18836 - (1) Extension Two Factor Webauthn - revert supporting inline webauthn 2fa as it doesn't work outside of local still (2) Extension 2FA Webauthn comp - add log of webauthn errors to help diagnose future issues
* PM-18836 - Extension - Services module - ExtensionTwoFactorAuthWebAuthnComponentService - remove unused dep
* Refactored totp service to use sdk
Fixed strict typescript issues
* Fixed dependency issues
* Returned object that contains code and period, removed get interval function
* removed dependencies
* Updated to use refactored totp service
* removed sdk service undefined check
* removed undefined as an input from the getCode function
* Made getcode$ an observable
* refactored to use getcodee$
* Filter out emmissions
* updated sdk version
* Fixed readability nit
* log error on overlay if totp response does not return a code
* fix(totpGeneration): [PM-11941] Totp countdown not working on clients
* Used optional chaining if totpresponse returns null or undefined