1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-04-14 20:07:04 +02:00
bitwarden-browser/libs/common/src
Jake Fink a0e0637bb6
[PM-5255, PM-3339] Refactor login strategy to use state providers (#7821)
* add key definition and StrategyData classes

* use state providers for login strategies

* serialize login data for cache

* use state providers for auth request notification

* fix registrations

* add docs to abstraction

* fix sso strategy

* fix password login strategy tests

* fix base login strategy tests

* fix user api login strategy tests

* PM-3339 add tests for admin auth request in sso strategy

* fix auth request login strategy tests

* fix webauthn login strategy tests

* create login strategy state

* use barrel file in common/spec

* test login strategy cache deserialization

* use global state provider

* add test for login strategy service

* fix auth request storage

* add recursive prototype checking and json deserializers to nested objects

* fix CLI

* Create wrapper for login strategy cache

* use behavior subjects in strategies instead of global state

* rename userApi to userApiKey

* pr feedback

* fix tests

* fix deserialization tests

* fix tests

---------

Co-authored-by: rr-bw <102181210+rr-bw@users.noreply.github.com>
2024-03-12 14:19:50 -04:00
..
abstractions [PM-5560] Implement Autofill Settings state provider (#7767) 2024-02-12 17:11:04 -05:00
admin-console [AC-2008] [AC-2123] [Pt 2] Transition PolicyService to use StateProvider (#7977) 2024-03-08 10:26:00 +10:00
auth [PM-5255, PM-3339] Refactor login strategy to use state providers (#7821) 2024-03-12 14:19:50 -04:00
autofill [PM-6382] Migrate disableContextMenuItem to Autofill Settings state (#8246) 2024-03-08 15:34:07 +00:00
billing [PM-5971] Fix Payment Method Warning Bugs (#7923) 2024-02-29 08:18:47 -05:00
enums [PM-5971] Fix Payment Method Warning Bugs (#7923) 2024-02-29 08:18:47 -05:00
models [AC-1863] Send initiationPath on organization or user signup (#7747) 2024-02-26 14:20:11 -05:00
platform [PM-5255, PM-3339] Refactor login strategy to use state providers (#7821) 2024-03-12 14:19:50 -04:00
services [AC-2008] [AC-2123] [Pt 2] Transition PolicyService to use StateProvider (#7977) 2024-03-08 10:26:00 +10:00
state-migrations [PM-6654] new app id service for angular (#8229) 2024-03-12 11:12:40 -04:00
tools [PM-5974] introduce ForwarderGeneratorStrategy (#8207) 2024-03-07 12:45:56 -05:00
types [AC-2008] [AC-2122] [Pt 1] Transition PolicyService to use StateProvider (#7959) 2024-02-27 08:51:10 +10:00
vault [PM-4882] Passkeys: funnel rp name or id to the cipher name on save (#7969) 2024-03-06 11:30:12 -06:00
globals.d.ts Move to libs 2022-06-03 16:24:40 +02:00