[microsoft-authentication] Extend authentication session to return id tokens (#114675)

This commit is contained in:
Oleg Demchenko
2021-01-25 15:12:05 -05:00
committed by GitHub
parent 5a3fedf0c4
commit 582ea371c2
2 changed files with 37 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { AuthenticationSession } from 'vscode';
/**
* Represents a session of a currently logged in Microsoft user.
*/
export interface MicrosoftAuthenticationSession extends AuthenticationSession {
/**
* The id token.
*/
idToken?: string;
}