Should match the definition from the theia/vscode types
An event which fires when the array of sessions has changed, or data within a session has changed.
Prompts a user to login.
A list of scopes, permissions, that the new session should be created with.
A promise that resolves to an authentication session.
Get a list of sessions.
An optional list of scopes. If provided, the sessions returned should match these permissions, otherwise all sessions should be returned.
A promise that resolves to an array of authentication sessions.
Removes the session corresponding to session id.
The id of the session to remove.