Interface AccountStateSource

What a host control needs to show and switch accounts. AccountManager implements it.

interface AccountStateSource {
    getState(): AccountState;
    select(accountId: string): Promise<AccountSelectResult>;
    subscribe(listener: (state: AccountState) => void): () => void;
}

Implemented by

Methods