1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-01 11:25:46 +02:00
bitwarden-browser/libs/auth
Jake Fink 9d10825dbd
[PM-5362] Add MP Service (attempt #2) (#8619)
* create mp and kdf service

* update mp service interface to not rely on active user

* rename observable methods

* update crypto service with new MP service

* add master password service to login strategies
- make fake service for easier testing
- fix crypto service tests

* update auth service and finish strategies

* auth request refactors

* more service refactors and constructor updates

* setMasterKey refactors

* remove master key methods from crypto service

* remove master key and hash from state service

* missed fixes

* create migrations and fix references

* fix master key imports

* default force set password reason to none

* add password reset reason observable factory to service

* remove kdf changes and migrate only disk data

* update migration number

* fix sync service deps

* use disk for force set password state

* fix desktop migration

* fix sso test

* fix tests

* fix more tests

* fix even more tests

* fix even more tests

* fix cli

* remove kdf service abstraction

* add missing deps for browser

* fix merge conflicts

* clear reset password reason on lock or logout

* fix tests

* fix other tests

* add jsdocs to abstraction

* use state provider in crypto service

* inverse master password service factory

* add clearOn to master password service

* add parameter validation to master password service

* add component level userId

* add missed userId

* migrate key hash

* fix login strategy service

* delete crypto master key from account

* migrate master key encrypted user key

* rename key hash to master key hash

* use mp service for getMasterKeyEncryptedUserKey

* fix tests

* fix user key decryption logic

* add clear methods to mp service

* fix circular dep and encryption issue

* fix test

* remove extra account service call

* use EncString in state provider

* fix tests

* return to using encrypted string for serialization
2024-04-09 20:50:20 -04:00
..
src [PM-5362] Add MP Service (attempt #2) (#8619) 2024-04-09 20:50:20 -04:00
jest.config.js [PM-5255, PM-3339] Refactor login strategy to use state providers (#7821) 2024-03-12 14:19:50 -04:00
package.json [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
README.md [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
test.setup.ts [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
tsconfig.json [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
tsconfig.spec.json [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00

Auth

This lib represents the public API of the Auth team at Bitwarden. Modules are imported using @bitwarden/auth.