Path: blob/main/extensions/microsoft-authentication/src/browser/authProvider.ts
3321 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { AuthenticationProvider, AuthenticationProviderAuthenticationSessionsChangeEvent, AuthenticationSession, EventEmitter } from 'vscode';67export class MsalAuthProvider implements AuthenticationProvider {8private _onDidChangeSessions = new EventEmitter<AuthenticationProviderAuthenticationSessionsChangeEvent>();9onDidChangeSessions = this._onDidChangeSessions.event;1011initialize(): Thenable<void> {12throw new Error('Method not implemented.');13}1415getSessions(): Thenable<AuthenticationSession[]> {16throw new Error('Method not implemented.');17}18createSession(): Thenable<AuthenticationSession> {19throw new Error('Method not implemented.');20}21removeSession(): Thenable<void> {22throw new Error('Method not implemented.');23}2425dispose() {26this._onDidChangeSessions.dispose();27}28}293031