1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

[PM-23189] Add client managed token provider (#15408)

* Add client managed token provider

* Change token service to accept user id

* Resolve breaking changes in the SDK

* Fix tests

* Update sdk

* Fix type

* Fix types

* Fix cli

* Fix browser

* Add optional userId to refreshIdentityToken

* Fix merge issues

* Fix tests
This commit is contained in:
Oscar Hinton
2025-10-08 22:47:30 +02:00
committed by GitHub
parent 5f18f15c52
commit 095729d6fa
6 changed files with 26 additions and 7 deletions

View File

@@ -163,7 +163,7 @@ export abstract class ApiService {
): Promise<
IdentityTokenResponse | IdentityTwoFactorResponse | IdentityDeviceVerificationResponse
>;
abstract refreshIdentityToken(): Promise<any>;
abstract refreshIdentityToken(userId?: UserId): Promise<any>;
abstract getProfile(): Promise<ProfileResponse>;
abstract getUserSubscription(): Promise<SubscriptionResponse>;