Auth providers - show dialog on token access, closes #89754

This commit is contained in:
Rachel Macfarlane
2020-02-06 15:30:42 -08:00
parent a4c2d6337d
commit cf96b11223
7 changed files with 59 additions and 22 deletions

View File

@@ -919,6 +919,7 @@ export interface ExtHostLabelServiceShape {
export interface ExtHostAuthenticationShape {
$getSessions(id: string): Promise<ReadonlyArray<modes.AuthenticationSession>>;
$getSessionAccessToken(id: string, sessionId: string): Promise<string>;
$login(id: string, scopes: string[]): Promise<modes.AuthenticationSession>;
$logout(id: string, sessionId: string): Promise<void>;
}