Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/microsoft-authentication/src/browser/authProvider.ts
3321 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { AuthenticationProvider, AuthenticationProviderAuthenticationSessionsChangeEvent, AuthenticationSession, EventEmitter } from 'vscode';
7
8
export class MsalAuthProvider implements AuthenticationProvider {
9
private _onDidChangeSessions = new EventEmitter<AuthenticationProviderAuthenticationSessionsChangeEvent>();
10
onDidChangeSessions = this._onDidChangeSessions.event;
11
12
initialize(): Thenable<void> {
13
throw new Error('Method not implemented.');
14
}
15
16
getSessions(): Thenable<AuthenticationSession[]> {
17
throw new Error('Method not implemented.');
18
}
19
createSession(): Thenable<AuthenticationSession> {
20
throw new Error('Method not implemented.');
21
}
22
removeSession(): Thenable<void> {
23
throw new Error('Method not implemented.');
24
}
25
26
dispose() {
27
this._onDidChangeSessions.dispose();
28
}
29
}
30
31