1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

Persist API key creds for token refresh. (#414)

* Persist API key creds for token refresh.

* Linter fixes
This commit is contained in:
Matt Gibson
2021-06-21 18:48:06 -04:00
committed by GitHub
parent 5e24a70a87
commit 78ae9383fb
3 changed files with 63 additions and 43 deletions

View File

@@ -1,6 +1,8 @@
export abstract class ApiKeyService {
setInformation: (clientId: string) => Promise<any>;
setInformation: (clientId: string, clientSecret: string) => Promise<any>;
clear: () => Promise<any>;
getClientId: () => Promise<string>;
getClientSecret: () => Promise<string>;
getEntityType: () => Promise<string>;
getEntityId: () => Promise<string>;
isAuthenticated: () => Promise<boolean>;