mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
refresh notification token if needed. authed and unlocked required
This commit is contained in:
@@ -234,5 +234,6 @@ export abstract class ApiService {
|
||||
|
||||
getUserPublicKey: (id: string) => Promise<UserKeyResponse>;
|
||||
|
||||
getActiveBearerToken: () => Promise<string>;
|
||||
fetch: (request: Request) => Promise<Response>;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ import { EnvironmentService } from './environment.service';
|
||||
export abstract class NotificationsService {
|
||||
init: (environmentService: EnvironmentService) => Promise<void>;
|
||||
updateConnection: () => Promise<void>;
|
||||
reconnectFromActivity: () => Promise<any>;
|
||||
disconnectFromInactivity: () => Promise<any>;
|
||||
reconnectFromActivity: () => Promise<void>;
|
||||
disconnectFromInactivity: () => Promise<void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user