@azure/msal-browser 2.17.0 → 2.21.0
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 +203 -0
- package/{changelog.md → CHANGELOG.md} +506 -445
- package/LICENSE +21 -21
- package/README.md +14 -6
- package/dist/_virtual/_tslib.js +1 -1
- package/dist/app/ClientApplication.d.ts +31 -0
- package/dist/app/ClientApplication.d.ts.map +1 -1
- package/dist/app/ClientApplication.js +96 -3
- package/dist/app/ClientApplication.js.map +1 -1
- package/dist/app/IPublicClientApplication.d.ts +6 -0
- package/dist/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/app/IPublicClientApplication.js +13 -1
- package/dist/app/IPublicClientApplication.js.map +1 -1
- package/dist/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/app/PublicClientApplication.js +31 -24
- package/dist/app/PublicClientApplication.js.map +1 -1
- package/dist/cache/AsyncMemoryStorage.d.ts +46 -0
- package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/dist/cache/AsyncMemoryStorage.js +195 -0
- package/dist/cache/AsyncMemoryStorage.js.map +1 -0
- package/dist/cache/BrowserCacheManager.d.ts +9 -1
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.js +55 -2
- package/dist/cache/BrowserCacheManager.js.map +1 -1
- package/dist/cache/BrowserStorage.d.ts +1 -1
- package/dist/cache/BrowserStorage.d.ts.map +1 -1
- package/dist/cache/BrowserStorage.js +1 -1
- package/dist/cache/BrowserStorage.js.map +1 -1
- package/dist/cache/DatabaseStorage.d.ts +25 -6
- package/dist/cache/DatabaseStorage.d.ts.map +1 -1
- package/dist/cache/DatabaseStorage.js +127 -81
- package/dist/cache/DatabaseStorage.js.map +1 -1
- package/dist/cache/IAsyncMemoryStorage.d.ts +28 -0
- package/dist/cache/IAsyncMemoryStorage.d.ts.map +1 -0
- package/dist/cache/IWindowStorage.d.ts +3 -3
- package/dist/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/cache/MemoryStorage.d.ts +3 -3
- package/dist/cache/MemoryStorage.d.ts.map +1 -1
- package/dist/cache/MemoryStorage.js +1 -1
- package/dist/cache/MemoryStorage.js.map +1 -1
- package/dist/cache/TokenCache.js +1 -1
- package/dist/cache/TokenCache.js.map +1 -1
- package/dist/config/Configuration.js +1 -1
- package/dist/config/Configuration.js.map +1 -1
- package/dist/crypto/BrowserCrypto.d.ts +3 -1
- package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
- package/dist/crypto/BrowserCrypto.js +3 -2
- package/dist/crypto/BrowserCrypto.js.map +1 -1
- package/dist/crypto/CryptoOps.d.ts +16 -5
- package/dist/crypto/CryptoOps.d.ts.map +1 -1
- package/dist/crypto/CryptoOps.js +58 -17
- package/dist/crypto/CryptoOps.js.map +1 -1
- package/dist/crypto/GuidGenerator.js +1 -1
- package/dist/crypto/GuidGenerator.js.map +1 -1
- package/dist/crypto/PkceGenerator.js +1 -1
- package/dist/crypto/PkceGenerator.js.map +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts +6 -2
- package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/crypto/SignedHttpRequest.js +11 -5
- package/dist/crypto/SignedHttpRequest.js.map +1 -1
- package/dist/encode/Base64Decode.js +1 -1
- package/dist/encode/Base64Decode.js.map +1 -1
- package/dist/encode/Base64Encode.js +1 -1
- package/dist/encode/Base64Encode.js.map +1 -1
- package/dist/error/BrowserAuthError.d.ts +16 -8
- package/dist/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/error/BrowserAuthError.js +22 -12
- package/dist/error/BrowserAuthError.js.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.js +1 -1
- package/dist/error/BrowserConfigurationAuthError.js.map +1 -1
- package/dist/event/EventHandler.d.ts +13 -0
- package/dist/event/EventHandler.d.ts.map +1 -1
- package/dist/event/EventHandler.js +66 -1
- package/dist/event/EventHandler.js.map +1 -1
- package/dist/event/EventMessage.d.ts +2 -2
- package/dist/event/EventMessage.d.ts.map +1 -1
- package/dist/event/EventMessage.js +1 -1
- package/dist/event/EventMessage.js.map +1 -1
- package/dist/event/EventType.d.ts +5 -0
- package/dist/event/EventType.d.ts.map +1 -1
- package/dist/event/EventType.js +6 -1
- package/dist/event/EventType.js.map +1 -1
- package/dist/index.cjs.js +1465 -520
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts +21 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.js +77 -3
- package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +21 -0
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -0
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.js +47 -37
- package/dist/interaction_client/PopupClient.js.map +1 -1
- package/dist/interaction_client/RedirectClient.js +16 -15
- package/dist/interaction_client/RedirectClient.js.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts +22 -0
- package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/dist/interaction_client/SilentAuthCodeClient.js +82 -0
- package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -0
- package/dist/interaction_client/SilentCacheClient.d.ts +1 -1
- package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentCacheClient.js +12 -2
- package/dist/interaction_client/SilentCacheClient.js.map +1 -1
- package/dist/interaction_client/SilentIframeClient.js +15 -13
- package/dist/interaction_client/SilentIframeClient.js.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.js +10 -7
- package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts +3 -23
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.js +51 -105
- package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
- package/dist/interaction_handler/InteractionHandler.d.ts +11 -2
- package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/interaction_handler/InteractionHandler.js +36 -10
- package/dist/interaction_handler/InteractionHandler.js.map +1 -1
- package/dist/interaction_handler/PopupHandler.js +1 -1
- package/dist/interaction_handler/PopupHandler.js.map +1 -1
- package/dist/interaction_handler/RedirectHandler.d.ts +1 -1
- package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
- package/dist/interaction_handler/RedirectHandler.js +2 -2
- package/dist/interaction_handler/RedirectHandler.js.map +1 -1
- package/dist/interaction_handler/SilentHandler.js +1 -1
- package/dist/interaction_handler/SilentHandler.js.map +1 -1
- package/dist/navigation/NavigationClient.js +1 -1
- package/dist/navigation/NavigationClient.js.map +1 -1
- package/dist/network/FetchClient.js +1 -1
- package/dist/network/FetchClient.js.map +1 -1
- package/dist/network/XhrClient.js +1 -1
- package/dist/network/XhrClient.js.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.js +2 -2
- package/dist/packageMetadata.js.map +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +8 -0
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
- package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
- package/dist/request/PopupRequest.d.ts +1 -1
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +1 -1
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/SilentRequest.d.ts +1 -1
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +1 -1
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.d.ts +4 -0
- package/dist/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.js +8 -3
- package/dist/utils/BrowserConstants.js.map +1 -1
- package/dist/utils/BrowserProtocolUtils.js +1 -1
- package/dist/utils/BrowserProtocolUtils.js.map +1 -1
- package/dist/utils/BrowserStringUtils.js +1 -1
- package/dist/utils/BrowserStringUtils.js.map +1 -1
- package/dist/utils/BrowserUtils.js +1 -1
- package/dist/utils/BrowserUtils.js.map +1 -1
- package/dist/utils/MathUtils.js +1 -1
- package/dist/utils/MathUtils.js.map +1 -1
- package/dist/utils/PopupUtils.js +1 -1
- package/dist/utils/PopupUtils.js.map +1 -1
- package/lib/msal-browser.js +1465 -520
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +30 -30
- package/package.json +9 -2
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,209 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/msal-browser",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Tue, 04 Jan 2022 00:20:29 GMT",
|
|
6
|
+
"tag": "@azure/msal-browser_v2.21.0",
|
|
7
|
+
"version": "2.21.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "hemoral@microsoft.com",
|
|
12
|
+
"package": "@azure/msal-browser",
|
|
13
|
+
"commit": "60e2cfc0e9daa3c24e994617b4ac42aef6880b74",
|
|
14
|
+
"comment": "Add support for requested claims in silent token acquisition #4296"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@azure/msal-browser",
|
|
19
|
+
"comment": "Bump @azure/msal-common to v6.0.0",
|
|
20
|
+
"commit": "bd9b1af91c278926ab2e6943cf90817a7ac4957b"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"patch": [
|
|
24
|
+
{
|
|
25
|
+
"author": "janutter@microsoft.com",
|
|
26
|
+
"package": "@azure/msal-browser",
|
|
27
|
+
"commit": "e3c66105f3bf617dc4fd06905e04b37e865c303c",
|
|
28
|
+
"comment": "Clear interaction status even if there is no ongoing request #4314"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"date": "Tue, 07 Dec 2021 00:17:01 GMT",
|
|
35
|
+
"tag": "@azure/msal-browser_v2.20.0",
|
|
36
|
+
"version": "2.20.0",
|
|
37
|
+
"comments": {
|
|
38
|
+
"none": [
|
|
39
|
+
{
|
|
40
|
+
"author": "kamausamuel11@gmail.com",
|
|
41
|
+
"package": "@azure/msal-browser",
|
|
42
|
+
"commit": "8259de7520d2940d290332cd03c5b8babeb0966e",
|
|
43
|
+
"comment": "deps: run an audit fix on msal-browser"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"author": "thomas.norling@microsoft.com",
|
|
47
|
+
"package": "@azure/msal-browser",
|
|
48
|
+
"commit": "02dbd9172368bfc69e4a47f01a3ada0b96345c81",
|
|
49
|
+
"comment": "Package.json updates"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"minor": [
|
|
53
|
+
{
|
|
54
|
+
"author": "janutter@microsoft.com",
|
|
55
|
+
"package": "@azure/msal-browser",
|
|
56
|
+
"commit": "4741b6c3a6a3dd58feefde93c095c05e1eca5e03",
|
|
57
|
+
"comment": "Add acquireTokenByCode API for hybrid spa flow #3978"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"author": "beachball",
|
|
61
|
+
"package": "@azure/msal-browser",
|
|
62
|
+
"comment": "Bump @azure/msal-common to v5.2.0",
|
|
63
|
+
"commit": "d7c209f7aa3ae4380a77a31ff1319fbf7201ae45"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"patch": [
|
|
67
|
+
{
|
|
68
|
+
"author": "hemoral@microsoft.com",
|
|
69
|
+
"package": "@azure/msal-browser",
|
|
70
|
+
"commit": "e983e25ba899bb437a135ec50ad6c77023c72e5b",
|
|
71
|
+
"comment": "Fix circular dependencies in AuthenticationHeaderParser and AsyncMemoryStorage #4235"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"date": "Mon, 01 Nov 2021 23:53:21 GMT",
|
|
78
|
+
"tag": "@azure/msal-browser_v2.19.0",
|
|
79
|
+
"version": "2.19.0",
|
|
80
|
+
"comments": {
|
|
81
|
+
"minor": [
|
|
82
|
+
{
|
|
83
|
+
"author": "hemoral@microsoft.com",
|
|
84
|
+
"package": "@azure/msal-browser",
|
|
85
|
+
"commit": "51669adf5e2fe446bf94925fe77762b64e9513fc",
|
|
86
|
+
"comment": "Add support for in-memory storage of token binding keys #4183"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"author": "hemoral@microsoft.com",
|
|
90
|
+
"package": "@azure/msal-browser",
|
|
91
|
+
"commit": "a81fcef3d82523e03828d91bb0ee8d2ab2cc20d8",
|
|
92
|
+
"comment": "Add support for ephemeral SSH certificate acquisition #4178"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"author": "hemoral@microsoft.com",
|
|
96
|
+
"package": "@azure/msal-browser",
|
|
97
|
+
"commit": "51669adf5e2fe446bf94925fe77762b64e9513fc",
|
|
98
|
+
"comment": "Add support for in-memory storage of token binding keys #4183"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"author": "hemoral@microsoft.com",
|
|
102
|
+
"package": "@azure/msal-browser",
|
|
103
|
+
"commit": "5b350a5f97b43e1a5a87153bb4a13632f7c615b9",
|
|
104
|
+
"comment": "Add support for SHR nonce #3999"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"author": "beachball",
|
|
108
|
+
"package": "@azure/msal-browser",
|
|
109
|
+
"comment": "Bump @azure/msal-common to v5.1.0",
|
|
110
|
+
"commit": "6ac29855822ce1ba9531a68bcaa6f37443ef16c0"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"patch": [
|
|
114
|
+
{
|
|
115
|
+
"author": "hemoral@microsoft.com",
|
|
116
|
+
"package": "@azure/msal-browser",
|
|
117
|
+
"commit": "9099d711c0e52e13937bcfda7ddf34bac48f9ecd",
|
|
118
|
+
"comment": "Add support for different key types in IndexedDB storage #4052"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"author": "janutter@microsoft.com",
|
|
122
|
+
"package": "@azure/msal-browser",
|
|
123
|
+
"commit": "b1f5bd520f8abb972725c1a863f37b7fb5ebd756",
|
|
124
|
+
"comment": "Ensure correlation is passed to all interaction clients in acquireTokenSilent #4186"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"author": "Michael.Currie@rjwgroup.com",
|
|
128
|
+
"package": "@azure/msal-browser",
|
|
129
|
+
"commit": "3f3f5a8880a7e46445d71b8920a6ccc70d453f30",
|
|
130
|
+
"comment": "Fix typo in noTokenRequestCacheError (#4136)"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"author": "thomas.norling@microsoft.com",
|
|
134
|
+
"package": "@azure/msal-browser",
|
|
135
|
+
"commit": "dc80d3177eef0b3c7499cbf3ebb2fea8e2c408c9",
|
|
136
|
+
"comment": "Fix redirect processing when allowRedirectInIframe: true #4142"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"date": "Mon, 04 Oct 2021 23:12:35 GMT",
|
|
143
|
+
"tag": "@azure/msal-browser_v2.18.0",
|
|
144
|
+
"version": "2.18.0",
|
|
145
|
+
"comments": {
|
|
146
|
+
"patch": [
|
|
147
|
+
{
|
|
148
|
+
"author": "jagore@microsoft.com",
|
|
149
|
+
"package": "@azure/msal-browser",
|
|
150
|
+
"comment": "Consistently export error types and messages for errors thrown by MSAL #4117",
|
|
151
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"author": "thomas.norling@microsoft.com",
|
|
155
|
+
"package": "@azure/msal-browser",
|
|
156
|
+
"comment": "Move helper functions up to BaseInteractionClient #4049",
|
|
157
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"author": "thomas.norling@microsoft.com",
|
|
161
|
+
"package": "@azure/msal-browser",
|
|
162
|
+
"comment": "Export library version #4124",
|
|
163
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"none": [
|
|
167
|
+
{
|
|
168
|
+
"author": "thomas.norling@microsoft.com",
|
|
169
|
+
"package": "@azure/msal-browser",
|
|
170
|
+
"comment": "Disallow major bumps",
|
|
171
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"author": "thomas.norling@microsoft.com",
|
|
175
|
+
"package": "@azure/msal-browser",
|
|
176
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"author": "kamausamuel11@gmail.com",
|
|
180
|
+
"package": "@azure/msal-browser",
|
|
181
|
+
"comment": "fix: add forked bindings library to node-extensions",
|
|
182
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"minor": [
|
|
186
|
+
{
|
|
187
|
+
"author": "thomas.norling@microsoft.com",
|
|
188
|
+
"package": "@azure/msal-browser",
|
|
189
|
+
"comment": "Emit event when user logs in or out from a different tab or window #3981",
|
|
190
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"author": "prkanher@microsoft.com",
|
|
194
|
+
"package": "@azure/msal-browser",
|
|
195
|
+
"comment": "Remove requirement of user hint on ssoSilent API #4123",
|
|
196
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"author": "beachball",
|
|
200
|
+
"package": "@azure/msal-browser",
|
|
201
|
+
"comment": "Bump @azure/msal-common to v5.0.1",
|
|
202
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
},
|
|
4
207
|
{
|
|
5
208
|
"date": "Tue, 07 Sep 2021 23:22:24 GMT",
|
|
6
209
|
"tag": "@azure/msal-browser_v2.17.0",
|