Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial getSessions API #177036

Merged
merged 2 commits into from
Mar 14, 2023
Merged

Initial getSessions API #177036

merged 2 commits into from
Mar 14, 2023

Conversation

TylerLeonhardt
Copy link
Member

ref #152399

Usage:

const result = await vscode.authentication.getSessions('microsoft', ['Mail.ReadWrite']);

If an auth provider supports multi-account, then we will return all sessions that match the scopes requested.

This is done for Microsoft auth but also to prepare for a mult-github account auth provider.

@TylerLeonhardt TylerLeonhardt self-assigned this Mar 14, 2023
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) March 14, 2023 03:36
@VSCodeTriageBot VSCodeTriageBot added this to the March 2023 milestone Mar 14, 2023
chrmarti
chrmarti previously approved these changes Mar 14, 2023
@TylerLeonhardt TylerLeonhardt merged commit 4129a03 into main Mar 14, 2023
@TylerLeonhardt TylerLeonhardt deleted the tyler/successive-swordtail branch March 14, 2023 17:20
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants