@azure/msal-node-extensions 1.0.0-alpha.10 → 1.0.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +102 -0
- package/{changelog.md → CHANGELOG.md} +105 -71
- package/LICENSE +21 -21
- package/README.md +192 -191
- package/binding.gyp +29 -29
- package/dist/msal-node-extensions.cjs.development.js +4 -1
- package/dist/msal-node-extensions.cjs.development.js.map +1 -1
- package/dist/msal-node-extensions.cjs.production.min.js +1 -1
- package/dist/msal-node-extensions.cjs.production.min.js.map +1 -1
- package/dist/msal-node-extensions.esm.js +4 -1
- package/dist/msal-node-extensions.esm.js.map +1 -1
- package/package.json +18 -6
- package/src/dpapi-addon/Dpapi.ts +17 -12
- package/src/dpapi-addon/dpapi_addon.h +6 -6
- package/src/dpapi-addon/dpapi_not_supported.cpp +19 -19
- package/src/dpapi-addon/dpapi_win.cpp +114 -114
- package/src/dpapi-addon/main.cpp +32 -32
- package/src/error/PersistenceError.ts +101 -101
- package/src/index.ts +16 -16
- package/src/lock/CrossPlatformLock.ts +89 -89
- package/src/lock/CrossPlatformLockOptions.ts +15 -15
- package/src/persistence/BasePersistence.ts +41 -41
- package/src/persistence/DataProtectionScope.ts +20 -20
- package/src/persistence/FilePersistence.ts +140 -140
- package/src/persistence/FilePersistenceWithDataProtection.ts +92 -92
- package/src/persistence/IPersistence.ts +17 -17
- package/src/persistence/IPersistenceConfiguration.ts +14 -14
- package/src/persistence/KeychainPersistence.ts +86 -86
- package/src/persistence/LibSecretPersistence.ts +87 -87
- package/src/persistence/PersistenceCachePlugin.ts +106 -106
- package/src/persistence/PersistenceCreator.ts +73 -73
- package/src/utils/Constants.ts +62 -62
- package/src/utils/Environment.ts +99 -99
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,108 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/msal-node-extensions",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Tue, 04 Jan 2022 00:20:29 GMT",
|
|
6
|
+
"tag": "@azure/msal-node-extensions_v1.0.0-alpha.14",
|
|
7
|
+
"version": "1.0.0-alpha.14",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "hemoral@microsoft.com",
|
|
12
|
+
"package": "@azure/msal-node-extensions",
|
|
13
|
+
"commit": "60e2cfc0e9daa3c24e994617b4ac42aef6880b74",
|
|
14
|
+
"comment": "Add support for requested claims in silent token acquisition #4296"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"prerelease": [
|
|
18
|
+
{
|
|
19
|
+
"author": "beachball",
|
|
20
|
+
"package": "@azure/msal-node-extensions",
|
|
21
|
+
"comment": "Bump @azure/msal-common to v6.0.0",
|
|
22
|
+
"commit": "bd9b1af91c278926ab2e6943cf90817a7ac4957b"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"date": "Tue, 07 Dec 2021 00:17:01 GMT",
|
|
29
|
+
"tag": "@azure/msal-node-extensions_v1.0.0-alpha.13",
|
|
30
|
+
"version": "1.0.0-alpha.13",
|
|
31
|
+
"comments": {
|
|
32
|
+
"none": [
|
|
33
|
+
{
|
|
34
|
+
"author": "thomas.norling@microsoft.com",
|
|
35
|
+
"package": "@azure/msal-node-extensions",
|
|
36
|
+
"commit": "02dbd9172368bfc69e4a47f01a3ada0b96345c81",
|
|
37
|
+
"comment": "Package.json updates"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"author": "kamausamuel11@gmail.com",
|
|
41
|
+
"package": "@azure/msal-node-extensions",
|
|
42
|
+
"commit": "8259de7520d2940d290332cd03c5b8babeb0966e",
|
|
43
|
+
"comment": "deps: run an audit fix for msal-node-extensions"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"prerelease": [
|
|
47
|
+
{
|
|
48
|
+
"author": "thomas.norling@microsoft.com",
|
|
49
|
+
"package": "@azure/msal-node-extensions",
|
|
50
|
+
"commit": "e020f3511ddc25be0c04a60362698da0112b8c0c",
|
|
51
|
+
"comment": "Use https to install bindings dependency #4234"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"author": "beachball",
|
|
55
|
+
"package": "@azure/msal-node-extensions",
|
|
56
|
+
"comment": "Bump @azure/msal-common to v5.2.0",
|
|
57
|
+
"commit": "d7c209f7aa3ae4380a77a31ff1319fbf7201ae45"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"date": "Mon, 01 Nov 2021 23:53:22 GMT",
|
|
64
|
+
"tag": "@azure/msal-node-extensions_v1.0.0-alpha.12",
|
|
65
|
+
"version": "1.0.0-alpha.12",
|
|
66
|
+
"comments": {
|
|
67
|
+
"prerelease": [
|
|
68
|
+
{
|
|
69
|
+
"author": "beachball",
|
|
70
|
+
"package": "@azure/msal-node-extensions",
|
|
71
|
+
"comment": "Bump @azure/msal-common to v5.1.0",
|
|
72
|
+
"commit": "6ac29855822ce1ba9531a68bcaa6f37443ef16c0"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"date": "Mon, 04 Oct 2021 23:12:35 GMT",
|
|
79
|
+
"tag": "@azure/msal-node-extensions_v1.0.0-alpha.11",
|
|
80
|
+
"version": "1.0.0-alpha.11",
|
|
81
|
+
"comments": {
|
|
82
|
+
"prerelease": [
|
|
83
|
+
{
|
|
84
|
+
"author": "kamausamuel11@gmail.com",
|
|
85
|
+
"package": "@azure/msal-node-extensions",
|
|
86
|
+
"comment": "fix: integrate forked bindings package",
|
|
87
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"author": "beachball",
|
|
91
|
+
"package": "@azure/msal-node-extensions",
|
|
92
|
+
"comment": "Bump @azure/msal-common to v5.0.1",
|
|
93
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"none": [
|
|
97
|
+
{
|
|
98
|
+
"author": "thomas.norling@microsoft.com",
|
|
99
|
+
"package": "@azure/msal-node-extensions",
|
|
100
|
+
"comment": "Update beachball config",
|
|
101
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
},
|
|
4
106
|
{
|
|
5
107
|
"date": "Thu, 09 Sep 2021 23:58:01 GMT",
|
|
6
108
|
"tag": "@azure/msal-node-extensions_v1.0.0-alpha.10",
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
# Change Log - @azure/msal-node-extensions
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 04 Jan 2022 00:20:29 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.0.0-alpha.14
|
|
8
|
+
|
|
9
|
+
Tue, 04 Jan 2022 00:20:29 GMT
|
|
10
|
+
|
|
11
|
+
### Changes
|
|
12
|
+
|
|
13
|
+
- Bump @azure/msal-common to v6.0.0
|
|
14
|
+
|
|
15
|
+
## 1.0.0-alpha.13
|
|
16
|
+
|
|
17
|
+
Tue, 07 Dec 2021 00:17:01 GMT
|
|
18
|
+
|
|
19
|
+
### Changes
|
|
20
|
+
|
|
21
|
+
- Use https to install bindings dependency #4234 (thomas.norling@microsoft.com)
|
|
22
|
+
- Bump @azure/msal-common to v5.2.0
|
|
23
|
+
|
|
24
|
+
## 1.0.0-alpha.12
|
|
25
|
+
|
|
26
|
+
Mon, 01 Nov 2021 23:53:22 GMT
|
|
27
|
+
|
|
28
|
+
### Changes
|
|
29
|
+
|
|
30
|
+
- Bump @azure/msal-common to v5.1.0
|
|
31
|
+
|
|
32
|
+
## 1.0.0-alpha.11
|
|
33
|
+
|
|
34
|
+
Mon, 04 Oct 2021 23:12:35 GMT
|
|
35
|
+
|
|
36
|
+
### Changes
|
|
37
|
+
|
|
38
|
+
- fix: integrate forked bindings package (kamausamuel11@gmail.com)
|
|
39
|
+
- Bump @azure/msal-common to v5.0.1
|
|
40
|
+
|
|
7
41
|
## 1.0.0-alpha.10
|
|
8
42
|
|
|
9
43
|
Thu, 09 Sep 2021 23:58:01 GMT
|
|
@@ -12,74 +46,74 @@ Thu, 09 Sep 2021 23:58:01 GMT
|
|
|
12
46
|
|
|
13
47
|
- Upgrade msal-common to v5 for Node extensions (janutter@microsoft.com)
|
|
14
48
|
|
|
15
|
-
## 1.0.0-alpha.9
|
|
16
|
-
|
|
17
|
-
Thu, 22 Jul 2021 22:50:22 GMT
|
|
18
|
-
|
|
19
|
-
### Changes
|
|
20
|
-
|
|
21
|
-
- feat: add the persistence creator (#3859) (samuelkamau@microsoft.com)
|
|
22
|
-
- fix: bump up the msal-common version (samuelkamau@microsoft.com)
|
|
23
|
-
|
|
24
|
-
## 1.0.0-alpha.8
|
|
25
|
-
|
|
26
|
-
Tue, 29 Jun 2021 00:28:30 GMT
|
|
27
|
-
|
|
28
|
-
### Changes
|
|
29
|
-
|
|
30
|
-
- verifyPersistence returns the right value on failure(#3787) (sameera.gajjarapu@microsoft.com)
|
|
31
|
-
|
|
32
|
-
## 1.0.0-alpha.7
|
|
33
|
-
|
|
34
|
-
Wed, 23 Jun 2021 00:01:49 GMT
|
|
35
|
-
|
|
36
|
-
### Changes
|
|
37
|
-
|
|
38
|
-
- Add logs to test beachball (sameera.gajjarapu@microsoft.com)
|
|
39
|
-
|
|
40
|
-
## 1.0.0-alpha.6
|
|
41
|
-
|
|
42
|
-
Fri, 05 Mar 2021 21:26:46 GMT
|
|
43
|
-
|
|
44
|
-
### Changes
|
|
45
|
-
|
|
46
|
-
- Fix lint in extensions to trigger version bump (janutter@microsoft.com)
|
|
47
|
-
|
|
48
|
-
## 1.0.0-alpha.5
|
|
49
|
-
|
|
50
|
-
Wed, 03 Mar 2021 22:13:23 GMT
|
|
51
|
-
|
|
52
|
-
### Changes
|
|
53
|
-
|
|
54
|
-
- Fix npm audit warnings (janutter@microsoft.com)
|
|
55
|
-
|
|
56
|
-
## 1.0.0-alpha.4
|
|
57
|
-
|
|
58
|
-
Wed, 14 Oct 2020 23:45:07 GMT
|
|
59
|
-
|
|
60
|
-
### Changes
|
|
61
|
-
|
|
62
|
-
- Update PersistenceCachePlugin (#2348) (sameera.gajjarapu@microsoft.com)
|
|
63
|
-
|
|
64
|
-
## 1.0.0-alpha.3
|
|
65
|
-
|
|
66
|
-
Wed, 23 Sep 2020 21:13:48 GMT
|
|
67
|
-
|
|
68
|
-
### Changes
|
|
69
|
-
|
|
70
|
-
- Update error message (#2265) (sagonzal@microsoft.com)
|
|
71
|
-
|
|
72
|
-
# 1.0.0-alpha.2
|
|
73
|
-
- Fix issue where binding.gyp was not being uploaded to npm
|
|
74
|
-
|
|
75
|
-
# 1.0.0-alpha.1
|
|
76
|
-
- Increment @azure/msal-common version to 1.1.0
|
|
77
|
-
|
|
78
|
-
# 1.0.0-alpha.0
|
|
79
|
-
|
|
80
|
-
- Extensions 1: Sets directory structure, adds Windows DPAPI Node addon (#1830)
|
|
81
|
-
- Extensions 2: Add cross process lock (#1831)
|
|
82
|
-
- Extensions 3: Add cache persistence plugin, persistence on Windows, Linux, and Mac (#1832)
|
|
83
|
-
- Extensions 4: Add sample (#1834)
|
|
84
|
-
- Extensions 5: Add documentation, add logger (#1835)
|
|
49
|
+
## 1.0.0-alpha.9
|
|
50
|
+
|
|
51
|
+
Thu, 22 Jul 2021 22:50:22 GMT
|
|
52
|
+
|
|
53
|
+
### Changes
|
|
54
|
+
|
|
55
|
+
- feat: add the persistence creator (#3859) (samuelkamau@microsoft.com)
|
|
56
|
+
- fix: bump up the msal-common version (samuelkamau@microsoft.com)
|
|
57
|
+
|
|
58
|
+
## 1.0.0-alpha.8
|
|
59
|
+
|
|
60
|
+
Tue, 29 Jun 2021 00:28:30 GMT
|
|
61
|
+
|
|
62
|
+
### Changes
|
|
63
|
+
|
|
64
|
+
- verifyPersistence returns the right value on failure(#3787) (sameera.gajjarapu@microsoft.com)
|
|
65
|
+
|
|
66
|
+
## 1.0.0-alpha.7
|
|
67
|
+
|
|
68
|
+
Wed, 23 Jun 2021 00:01:49 GMT
|
|
69
|
+
|
|
70
|
+
### Changes
|
|
71
|
+
|
|
72
|
+
- Add logs to test beachball (sameera.gajjarapu@microsoft.com)
|
|
73
|
+
|
|
74
|
+
## 1.0.0-alpha.6
|
|
75
|
+
|
|
76
|
+
Fri, 05 Mar 2021 21:26:46 GMT
|
|
77
|
+
|
|
78
|
+
### Changes
|
|
79
|
+
|
|
80
|
+
- Fix lint in extensions to trigger version bump (janutter@microsoft.com)
|
|
81
|
+
|
|
82
|
+
## 1.0.0-alpha.5
|
|
83
|
+
|
|
84
|
+
Wed, 03 Mar 2021 22:13:23 GMT
|
|
85
|
+
|
|
86
|
+
### Changes
|
|
87
|
+
|
|
88
|
+
- Fix npm audit warnings (janutter@microsoft.com)
|
|
89
|
+
|
|
90
|
+
## 1.0.0-alpha.4
|
|
91
|
+
|
|
92
|
+
Wed, 14 Oct 2020 23:45:07 GMT
|
|
93
|
+
|
|
94
|
+
### Changes
|
|
95
|
+
|
|
96
|
+
- Update PersistenceCachePlugin (#2348) (sameera.gajjarapu@microsoft.com)
|
|
97
|
+
|
|
98
|
+
## 1.0.0-alpha.3
|
|
99
|
+
|
|
100
|
+
Wed, 23 Sep 2020 21:13:48 GMT
|
|
101
|
+
|
|
102
|
+
### Changes
|
|
103
|
+
|
|
104
|
+
- Update error message (#2265) (sagonzal@microsoft.com)
|
|
105
|
+
|
|
106
|
+
# 1.0.0-alpha.2
|
|
107
|
+
- Fix issue where binding.gyp was not being uploaded to npm
|
|
108
|
+
|
|
109
|
+
# 1.0.0-alpha.1
|
|
110
|
+
- Increment @azure/msal-common version to 1.1.0
|
|
111
|
+
|
|
112
|
+
# 1.0.0-alpha.0
|
|
113
|
+
|
|
114
|
+
- Extensions 1: Sets directory structure, adds Windows DPAPI Node addon (#1830)
|
|
115
|
+
- Extensions 2: Add cross process lock (#1831)
|
|
116
|
+
- Extensions 3: Add cache persistence plugin, persistence on Windows, Linux, and Mac (#1832)
|
|
117
|
+
- Extensions 4: Add sample (#1834)
|
|
118
|
+
- Extensions 5: Add documentation, add logger (#1835)
|
|
85
119
|
- Extensions 6: Add tests (#1849)
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|