mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
12 lines
374 B
TypeScript
12 lines
374 B
TypeScript
import { Observable } from "rxjs";
|
|
|
|
import { UserId } from "@bitwarden/user-core";
|
|
|
|
export abstract class ActiveUserAccessor {
|
|
/**
|
|
* Returns a stream of the current active user for the application. The stream either emits the user id for that account
|
|
* or returns null if there is no current active user.
|
|
*/
|
|
abstract activeUserId$: Observable<UserId | null>;
|
|
}
|