Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/microsoft-authentication/packageMocks/dpapi/dpapi.js
3320 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
class defaultDpapi {
7
protectData() {
8
throw new Error('Dpapi bindings unavailable');
9
}
10
unprotectData() {
11
throw new Error('Dpapi bindings unavailable');
12
}
13
}
14
const Dpapi = new defaultDpapi();
15
export { Dpapi };
16
17