clients/libs/angular/src
Jared Snider 4313dd2ecb
feat(SendAccess): [Auth/PM-22661] SendTokenService + SDK Integration (#16007)
* PM-22661 - Start bringing in code from original PR

* PM-22661 - SendTokenService - implement and test hash send password

* PM-22661 - Starting to pull in SDK state to SendTokenService

* PM-22661 - WIP on default send token service

* PM-22661 - Build out TS helpers for TryGetSendAccessTokenError

* PM-22661 - WIP

* PM-22661 - Decent progress on getting _tryGetSendAccessToken wired up

* PM-22661 - Finish service implementation (TODO: test)

* PM-22661 - DefaultSendTokenService - clear expired tokens

* PM-22661 - SendTokenService - tests for tryGetSendAccessToken$

* PM-22661 - DefaultSendTokenService - more tests.

* PM-22661 - Refactor to create domain facing type for send access creds so we can internally map to SDK models instead of exposing them.

* PM-22661 - DefaultSendTokenService tests - finish testing error scenarios

* PM-22661 - SendAccessToken - add threshold to expired check to prevent tokens from expiring in flight

* PM-22661 - clean up docs and add invalidateSendAccessToken

* PM-22661 - Add SendAccessToken tests

* PM-22661 - Build out barrel files and provide send token service in jslib-services.

* PM-22661 - Improve credential validation and test the scenarios

* PM-22661 - Add handling for otp_generation_failed

* PM-22661 - npm i sdk version 0.2.0-main.298 which has send access client stuff

* PM-22661 - Bump to latest sdk changes for send access for testing.

* PM-22661 - fix comment to be accurate

* PM-22661 - DefaultSendTokenService - hashSendPassword - to fix compile time error with passing a Uint8Array to Utils.fromBufferToB64, add new overloads to Utils.fromBufferToB64 to handle ArrayBuffer and ArrayBufferView (to allow for Uint8Arrays). Then, test new scenarios to ensure feature parity with old fromBufferToB64 method.

* PM-22661 - Utils.fromBufferToB64 - remove overloads so ordering doesn't break test spies.

* PM-22661 - utils.fromBufferToB64 - re-add overloads to see effects on tests

* PM-22661 - revert utils changes as they will be done in a separate PR.

* PM-22661 - SendTokenService tests - test invalidateSendAccessToken

* PM-22661 - DefaultSendTokenService - add some storage layer tests

* PM-22661 - Per PR feedback fix comment

* PM-22661 - Per PR feedback, optimize writes to state for send access tokens with shouldUpdate.

* PM-22661 - Per PR feedback, update clear to be immutable vs delete (mutation) based.

* PM-22661 - Per PR feedback, re-add should update for clear method.

* PM-22661 - Update libs/common/src/auth/send-access/services/default-send-token.service.ts

Co-authored-by: rr-bw <102181210+rr-bw@users.noreply.github.com>

* PM-22661 - Update libs/common/src/auth/send-access/services/default-send-token.service.ts

Co-authored-by: rr-bw <102181210+rr-bw@users.noreply.github.com>

* PM-22661 - Update libs/common/src/auth/send-access/services/default-send-token.service.ts

Co-authored-by: rr-bw <102181210+rr-bw@users.noreply.github.com>

---------

Co-authored-by: rr-bw <102181210+rr-bw@users.noreply.github.com>
2025-10-02 08:55:04 -04:00
..
admin-console/validators [PM-19562] remove flag pm-18520-desktop-cipher-forms (#15524) 2025-07-10 15:30:23 -04:00
auth [PM-23230] Implement KDF Change Service (#15748) 2025-09-23 16:10:54 -04:00
billing [PM-25463] Work towards complete usage of Payments domain (#16532) 2025-10-01 10:26:47 -05:00
components [PM-19562] remove flag pm-18520-desktop-cipher-forms (#15524) 2025-07-10 15:30:23 -04:00
directives Remove standalone true from platform and UIF (#15032) 2025-06-02 20:03:04 +02:00
pipes Remove standalone true from platform and UIF (#15032) 2025-06-02 20:03:04 +02:00
platform Add lang attr on desktop and browser (#14691) 2025-06-09 06:54:00 -04:00
scss [PM-19996] added new icon for access-intelligence (#16315) 2025-09-09 10:01:05 -05:00
services feat(SendAccess): [Auth/PM-22661] SendTokenService + SDK Integration (#16007) 2025-10-02 08:55:04 -04:00
tools [PM-17503] Delete old password-strength component (#15652) 2025-07-25 08:10:35 +00:00
types [EC-7] Org Admin Vault Refresh Client V1 (#3925) 2022-11-02 09:57:25 -07:00
utils feat(2FA-UI-Refresh): [Auth/PM-8113] - 2FA Components Consolidation and UI Refresh (#12087) 2025-02-24 09:59:14 -05:00
vault [CL-95] loading spinner (#16363) 2025-09-23 15:36:18 -04:00
jslib.module.ts [PM-25463] Work towards complete usage of Payments domain (#16532) 2025-10-01 10:26:47 -05:00