@azure/msal-common 4.5.0 → 5.1.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 +178 -0
- package/{changelog.md → CHANGELOG.md} +446 -390
- package/LICENSE +21 -21
- package/README.md +62 -61
- package/dist/_virtual/_tslib.js +1 -1
- package/dist/account/AuthToken.js +7 -7
- package/dist/account/AuthToken.js.map +1 -1
- package/dist/account/CcsCredential.js +1 -1
- package/dist/account/CcsCredential.js.map +1 -1
- package/dist/account/ClientInfo.js +10 -10
- package/dist/account/ClientInfo.js.map +1 -1
- package/dist/account/TokenClaims.d.ts +5 -0
- package/dist/account/TokenClaims.d.ts.map +1 -1
- package/dist/authority/Authority.d.ts.map +1 -1
- package/dist/authority/Authority.js +60 -54
- package/dist/authority/Authority.js.map +1 -1
- package/dist/authority/AuthorityFactory.js +9 -9
- package/dist/authority/AuthorityFactory.js.map +1 -1
- package/dist/authority/AuthorityType.js +1 -1
- package/dist/authority/AuthorityType.js.map +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.js +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -1
- package/dist/authority/OpenIdConfigResponse.d.ts +1 -1
- package/dist/authority/OpenIdConfigResponse.d.ts.map +1 -1
- package/dist/authority/OpenIdConfigResponse.js +1 -2
- package/dist/authority/OpenIdConfigResponse.js.map +1 -1
- package/dist/authority/ProtocolMode.js +1 -1
- package/dist/authority/ProtocolMode.js.map +1 -1
- package/dist/authority/RegionDiscovery.js +9 -9
- package/dist/authority/RegionDiscovery.js.map +1 -1
- package/dist/cache/CacheManager.d.ts +23 -9
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.js +244 -114
- package/dist/cache/CacheManager.js.map +1 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +3 -2
- package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccessTokenEntity.js +23 -17
- package/dist/cache/entities/AccessTokenEntity.js.map +1 -1
- package/dist/cache/entities/AccountEntity.d.ts +2 -2
- package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.js +18 -18
- package/dist/cache/entities/AccountEntity.js.map +1 -1
- package/dist/cache/entities/AppMetadataEntity.js +1 -1
- package/dist/cache/entities/AppMetadataEntity.js.map +1 -1
- package/dist/cache/entities/AuthorityMetadataEntity.d.ts +1 -1
- package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -1
- package/dist/cache/entities/AuthorityMetadataEntity.js +5 -6
- package/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -1
- package/dist/cache/entities/CacheRecord.js +1 -1
- package/dist/cache/entities/CacheRecord.js.map +1 -1
- package/dist/cache/entities/CredentialEntity.d.ts +7 -3
- package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
- package/dist/cache/entities/CredentialEntity.js +16 -9
- package/dist/cache/entities/CredentialEntity.js.map +1 -1
- package/dist/cache/entities/IdTokenEntity.js +3 -3
- package/dist/cache/entities/IdTokenEntity.js.map +1 -1
- package/dist/cache/entities/RefreshTokenEntity.js +3 -3
- package/dist/cache/entities/RefreshTokenEntity.js.map +1 -1
- package/dist/cache/entities/ServerTelemetryEntity.js +1 -1
- package/dist/cache/entities/ServerTelemetryEntity.js.map +1 -1
- package/dist/cache/entities/ThrottlingEntity.js +1 -1
- package/dist/cache/entities/ThrottlingEntity.js.map +1 -1
- package/dist/cache/interface/ICacheManager.d.ts +5 -5
- package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
- package/dist/cache/persistence/TokenCacheContext.js +3 -3
- package/dist/cache/persistence/TokenCacheContext.js.map +1 -1
- package/dist/cache/utils/CacheTypes.d.ts +4 -1
- package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.js +56 -43
- package/dist/client/AuthorizationCodeClient.js.map +1 -1
- package/dist/client/BaseClient.js +11 -11
- package/dist/client/BaseClient.js.map +1 -1
- package/dist/client/ClientCredentialClient.d.ts.map +1 -1
- package/dist/client/ClientCredentialClient.js +24 -18
- package/dist/client/ClientCredentialClient.js.map +1 -1
- package/dist/client/DeviceCodeClient.d.ts.map +1 -1
- package/dist/client/DeviceCodeClient.js +39 -27
- package/dist/client/DeviceCodeClient.js.map +1 -1
- package/dist/client/OnBehalfOfClient.d.ts.map +1 -1
- package/dist/client/OnBehalfOfClient.js +26 -20
- package/dist/client/OnBehalfOfClient.js.map +1 -1
- package/dist/client/RefreshTokenClient.d.ts.map +1 -1
- package/dist/client/RefreshTokenClient.js +49 -32
- package/dist/client/RefreshTokenClient.js.map +1 -1
- package/dist/client/SilentFlowClient.d.ts.map +1 -1
- package/dist/client/SilentFlowClient.js +40 -35
- package/dist/client/SilentFlowClient.js.map +1 -1
- package/dist/client/UsernamePasswordClient.d.ts.map +1 -1
- package/dist/client/UsernamePasswordClient.js +18 -12
- package/dist/client/UsernamePasswordClient.js.map +1 -1
- package/dist/config/ClientConfiguration.d.ts.map +1 -1
- package/dist/config/ClientConfiguration.js +8 -7
- package/dist/config/ClientConfiguration.js.map +1 -1
- package/dist/crypto/ICrypto.d.ts +11 -1
- package/dist/crypto/ICrypto.d.ts.map +1 -1
- package/dist/crypto/ICrypto.js +26 -8
- package/dist/crypto/ICrypto.js.map +1 -1
- package/dist/crypto/PopTokenGenerator.d.ts +21 -4
- package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/dist/crypto/PopTokenGenerator.js +42 -31
- package/dist/crypto/PopTokenGenerator.js.map +1 -1
- package/dist/error/AuthError.d.ts +5 -0
- package/dist/error/AuthError.d.ts.map +1 -1
- package/dist/error/AuthError.js +6 -3
- package/dist/error/AuthError.js.map +1 -1
- package/dist/error/ClientAuthError.d.ts +13 -4
- package/dist/error/ClientAuthError.d.ts.map +1 -1
- package/dist/error/ClientAuthError.js +20 -9
- package/dist/error/ClientAuthError.js.map +1 -1
- package/dist/error/ClientConfigurationError.d.ts +29 -0
- package/dist/error/ClientConfigurationError.d.ts.map +1 -1
- package/dist/error/ClientConfigurationError.js +45 -5
- package/dist/error/ClientConfigurationError.js.map +1 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +24 -5
- package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/dist/error/InteractionRequiredAuthError.js +30 -9
- package/dist/error/InteractionRequiredAuthError.js.map +1 -1
- package/dist/error/ServerError.js +3 -3
- package/dist/error/ServerError.js.map +1 -1
- package/dist/index.cjs.js +675 -244
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -29
- package/dist/index.js.map +1 -1
- package/dist/logger/Logger.d.ts.map +1 -1
- package/dist/logger/Logger.js +11 -9
- package/dist/logger/Logger.js.map +1 -1
- package/dist/network/INetworkModule.js +4 -4
- package/dist/network/INetworkModule.js.map +1 -1
- package/dist/network/NetworkManager.js +8 -8
- package/dist/network/NetworkManager.js.map +1 -1
- package/dist/network/RequestThumbprint.d.ts +7 -0
- package/dist/network/RequestThumbprint.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.d.ts +2 -1
- package/dist/network/ThrottlingUtils.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.js +14 -8
- package/dist/network/ThrottlingUtils.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/AuthenticationHeaderParser.d.ts +20 -0
- package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
- package/dist/request/AuthenticationHeaderParser.js +64 -0
- package/dist/request/AuthenticationHeaderParser.js.map +1 -0
- package/dist/request/BaseAuthRequest.d.ts +7 -1
- package/dist/request/BaseAuthRequest.d.ts.map +1 -1
- package/dist/request/CommonEndSessionRequest.d.ts +4 -0
- package/dist/request/CommonEndSessionRequest.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.d.ts +4 -0
- package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.js +27 -18
- package/dist/request/RequestParameterBuilder.js.map +1 -1
- package/dist/request/RequestValidator.js +10 -10
- package/dist/request/RequestValidator.js.map +1 -1
- package/dist/request/ScopeSet.js +14 -14
- package/dist/request/ScopeSet.js.map +1 -1
- package/dist/response/AuthenticationResult.d.ts +2 -1
- package/dist/response/AuthenticationResult.d.ts.map +1 -1
- package/dist/response/ExternalTokenResponse.d.ts +15 -0
- package/dist/response/ExternalTokenResponse.d.ts.map +1 -0
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.js +74 -69
- package/dist/response/ResponseHandler.js.map +1 -1
- package/dist/response/ServerAuthorizationTokenResponse.d.ts +5 -2
- package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.js +13 -13
- package/dist/telemetry/server/ServerTelemetryManager.js.map +1 -1
- package/dist/url/UrlString.d.ts +0 -6
- package/dist/url/UrlString.d.ts.map +1 -1
- package/dist/url/UrlString.js +25 -40
- package/dist/url/UrlString.js.map +1 -1
- package/dist/utils/Constants.d.ts +5 -2
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.js +5 -2
- package/dist/utils/Constants.js.map +1 -1
- package/dist/utils/ProtocolUtils.js +13 -13
- package/dist/utils/ProtocolUtils.js.map +1 -1
- package/dist/utils/StringUtils.d.ts.map +1 -1
- package/dist/utils/StringUtils.js +15 -14
- package/dist/utils/StringUtils.js.map +1 -1
- package/dist/utils/TimeUtils.js +1 -1
- package/dist/utils/TimeUtils.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,184 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/msal-common",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Mon, 01 Nov 2021 23:53:21 GMT",
|
|
6
|
+
"tag": "@azure/msal-common_v5.1.0",
|
|
7
|
+
"version": "5.1.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "hemoral@microsoft.com",
|
|
12
|
+
"package": "@azure/msal-common",
|
|
13
|
+
"commit": "a81fcef3d82523e03828d91bb0ee8d2ab2cc20d8",
|
|
14
|
+
"comment": "Add support for ephemeral SSH certificate acquisition #4178"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "hemoral@microsoft.com",
|
|
18
|
+
"package": "@azure/msal-common",
|
|
19
|
+
"commit": "5b350a5f97b43e1a5a87153bb4a13632f7c615b9",
|
|
20
|
+
"comment": "Add support for SHR nonce #3999"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"patch": [
|
|
24
|
+
{
|
|
25
|
+
"author": "thomas.norling@microsoft.com",
|
|
26
|
+
"package": "@azure/msal-common",
|
|
27
|
+
"commit": "8753903387bec9d53ef691674593c58e29b2be1d",
|
|
28
|
+
"comment": "Log reason for cache miss #4199"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"author": "thomas.norling@microsoft.com",
|
|
32
|
+
"package": "@azure/msal-common",
|
|
33
|
+
"commit": "0f0cd59ef55f3547ef3698f87392209af8fcebd7",
|
|
34
|
+
"comment": "Update authority metadata error messages"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"author": "janutter@microsoft.com",
|
|
38
|
+
"package": "@azure/msal-common",
|
|
39
|
+
"commit": "9fdfe9a3e3db40c5a9dc1b93a50ff3c68a4259c0",
|
|
40
|
+
"comment": "Gracefully handle B2C ROPC policies not setting end_session_endpoint property #4173"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"date": "Mon, 04 Oct 2021 23:12:35 GMT",
|
|
47
|
+
"tag": "@azure/msal-common_v5.0.1",
|
|
48
|
+
"version": "5.0.1",
|
|
49
|
+
"comments": {
|
|
50
|
+
"none": [
|
|
51
|
+
{
|
|
52
|
+
"author": "kamausamuel11@gmail.com",
|
|
53
|
+
"package": "@azure/msal-common",
|
|
54
|
+
"comment": "fix: integrate forked bindings package",
|
|
55
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"patch": [
|
|
59
|
+
{
|
|
60
|
+
"author": "thomas.norling@microsoft.com",
|
|
61
|
+
"package": "@azure/msal-common",
|
|
62
|
+
"comment": "Export library version #4124",
|
|
63
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"author": "jagore@microsoft.com",
|
|
67
|
+
"package": "@azure/msal-common",
|
|
68
|
+
"comment": "Consistently export error types and messages for errors thrown by MSAL #4117",
|
|
69
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"author": "thomas.norling@microsoft.com",
|
|
73
|
+
"package": "@azure/msal-common",
|
|
74
|
+
"comment": "Make no_tokens_found error an InteractionRequiredAuthError #4089",
|
|
75
|
+
"commit": "d03c16f09026bac36048241da4635e73d32a6eed"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"date": "Tue, 07 Sep 2021 23:22:24 GMT",
|
|
82
|
+
"tag": "@azure/msal-common_v5.0.0",
|
|
83
|
+
"version": "5.0.0",
|
|
84
|
+
"comments": {
|
|
85
|
+
"patch": [
|
|
86
|
+
{
|
|
87
|
+
"comment": "Add correlationId property to AuthError #3930",
|
|
88
|
+
"author": "thomas.norling@microsoft.com",
|
|
89
|
+
"commit": "c2d19c27d11fdab54fb336b9a455b05c753ae750",
|
|
90
|
+
"package": "@azure/msal-common"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"comment": "Fix logger constructor #3899",
|
|
94
|
+
"author": "hemoral@microsoft.com",
|
|
95
|
+
"commit": "b864252c09935f31d72ace20ca13a5a42d2a6bc1",
|
|
96
|
+
"package": "@azure/msal-common"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"comment": "Add correlationId to AuthenticationResult type #3947",
|
|
100
|
+
"author": "thomas.norling@microsoft.com",
|
|
101
|
+
"commit": "931061695df57488a26397763bbdb3e466713df8",
|
|
102
|
+
"package": "@azure/msal-common"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"comment": "Fix accesstoken_with_authscheme implementation #3910",
|
|
106
|
+
"author": "hemoral@microsoft.com",
|
|
107
|
+
"commit": "9aceb4219ebad900277aa6a59ca1ff93c5a21e0a",
|
|
108
|
+
"package": "@azure/msal-common"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"comment": "Add external token server response type #3895",
|
|
112
|
+
"author": "joarroyo@microsoft.com",
|
|
113
|
+
"commit": "cef2629499cf997f9167fe3ecc7628cf32513dfc",
|
|
114
|
+
"package": "@azure/msal-common"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"comment": "Fixes unescaped backslash and inefficient regex patterns #3993",
|
|
118
|
+
"author": "thomas.norling@microsoft.com",
|
|
119
|
+
"commit": "80434004e06dc11f3770ba84e5ead1c45f449156",
|
|
120
|
+
"package": "@azure/msal-common"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"none": [
|
|
124
|
+
{
|
|
125
|
+
"comment": "Resolve lint warnings #3994",
|
|
126
|
+
"author": "thomas.norling@microsoft.com",
|
|
127
|
+
"commit": "17cbef3c32f01e526e33964df21b0cda19e632b9",
|
|
128
|
+
"package": "@azure/msal-common"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"comment": "Removes logout cache clearing logic from AuthorizationCodeClient #3982",
|
|
132
|
+
"author": "thomas.norling@microsoft.com",
|
|
133
|
+
"commit": "9e4d8a161cd8eac51ea7ded5dadc2b6ff028f5d7",
|
|
134
|
+
"package": "@azure/msal-common"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"minor": [
|
|
138
|
+
{
|
|
139
|
+
"comment": "Adds state param to logout url #3909",
|
|
140
|
+
"author": "bmahal@microsoft.com",
|
|
141
|
+
"commit": "20c270e030922e3bb9df5beb1c6dcca190c4ac09",
|
|
142
|
+
"package": "@azure/msal-common"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"comment": "Add SignedHttpRequest class #3058",
|
|
146
|
+
"author": "janutter@microsoft.com",
|
|
147
|
+
"commit": "19fe65ef6562deeae0778db5030f44fa6e24aa5d",
|
|
148
|
+
"package": "@azure/msal-common"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"major": [
|
|
152
|
+
{
|
|
153
|
+
"comment": "Add pop params to request thumbprint #3973",
|
|
154
|
+
"author": "hemoral@microsoft.com",
|
|
155
|
+
"commit": "b3b18bc86a5949905be265c9b892e288551ac894",
|
|
156
|
+
"package": "@azure/msal-common"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"comment": "Remove token binding key from key store when refreshing pop token #3500",
|
|
160
|
+
"author": "hemoral@microsoft.com",
|
|
161
|
+
"commit": "6592652877f31405c8ed73a66f03eada90a78c0a",
|
|
162
|
+
"package": "@azure/msal-common"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"date": "Mon, 02 Aug 2021 23:19:21 GMT",
|
|
169
|
+
"tag": "@azure/msal-common_v4.5.1",
|
|
170
|
+
"version": "4.5.1",
|
|
171
|
+
"comments": {
|
|
172
|
+
"patch": [
|
|
173
|
+
{
|
|
174
|
+
"comment": "Fix double encoding state #3903",
|
|
175
|
+
"author": "bmahal@microsoft.com",
|
|
176
|
+
"commit": "6a650097f99a395c7d7723ac2184a71e759d9b74",
|
|
177
|
+
"package": "@azure/msal-common"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
},
|
|
4
182
|
{
|
|
5
183
|
"date": "Thu, 22 Jul 2021 22:50:22 GMT",
|
|
6
184
|
"tag": "@azure/msal-common_v4.5.0",
|