@azure/msal-node 2.5.0 → 2.5.1
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/dist/cache/NodeStorage.cjs +1 -1
- package/dist/cache/NodeStorage.mjs +1 -1
- package/dist/cache/TokenCache.cjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.cjs +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
- package/dist/cache/serializer/Deserializer.cjs +1 -1
- package/dist/cache/serializer/Deserializer.mjs +1 -1
- package/dist/cache/serializer/Serializer.cjs +1 -1
- package/dist/cache/serializer/Serializer.mjs +1 -1
- package/dist/client/ClientApplication.cjs +1 -1
- package/dist/client/ClientApplication.mjs +1 -1
- package/dist/client/ClientAssertion.cjs +1 -1
- package/dist/client/ClientAssertion.mjs +1 -1
- package/dist/client/ClientCredentialClient.cjs +1 -1
- package/dist/client/ClientCredentialClient.mjs +1 -1
- package/dist/client/ConfidentialClientApplication.cjs +1 -1
- package/dist/client/ConfidentialClientApplication.mjs +1 -1
- package/dist/client/DeviceCodeClient.cjs +1 -1
- package/dist/client/DeviceCodeClient.mjs +1 -1
- package/dist/client/OnBehalfOfClient.cjs +1 -1
- package/dist/client/OnBehalfOfClient.mjs +1 -1
- package/dist/client/PublicClientApplication.cjs +2 -2
- package/dist/client/PublicClientApplication.mjs +2 -2
- package/dist/client/UsernamePasswordClient.cjs +1 -1
- package/dist/client/UsernamePasswordClient.mjs +1 -1
- package/dist/config/Configuration.cjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/crypto/CryptoProvider.cjs +1 -1
- package/dist/crypto/CryptoProvider.mjs +1 -1
- package/dist/crypto/GuidGenerator.cjs +1 -1
- package/dist/crypto/GuidGenerator.mjs +1 -1
- package/dist/crypto/HashUtils.cjs +1 -1
- package/dist/crypto/HashUtils.mjs +1 -1
- package/dist/crypto/PkceGenerator.cjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/error/NodeAuthError.cjs +1 -1
- package/dist/error/NodeAuthError.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internals.cjs +1 -1
- package/dist/internals.mjs +1 -1
- package/dist/network/HttpClient.cjs +1 -1
- package/dist/network/HttpClient.mjs +1 -1
- package/dist/network/LoopbackClient.cjs +1 -1
- package/dist/network/LoopbackClient.mjs +1 -1
- package/dist/packageMetadata.cjs +2 -2
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/utils/Constants.cjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/EncodingUtils.cjs +1 -1
- package/dist/utils/EncodingUtils.mjs +1 -1
- package/dist/utils/NetworkUtils.cjs +1 -1
- package/dist/utils/NetworkUtils.mjs +1 -1
- package/package.json +1 -1
- package/src/client/PublicClientApplication.ts +1 -1
- package/src/packageMetadata.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CacheManager, AccountEntity, CacheHelpers, AppMetadataEntity, AuthorityMetadataEntity, ThrottlingEntity } from '@azure/msal-common';
|
|
4
4
|
import { Deserializer } from './serializer/Deserializer.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { Logger, buildStaticAuthorityOptions, ResponseMode, AuthenticationScheme, AuthorizationCodeClient, AuthError, RefreshTokenClient, SilentFlowClient, createClientAuthError, ClientAuthErrorCodes, Constants as Constants$1, StringUtils, OIDC_DEFAULT_SCOPES, ServerTelemetryManager, Authority, AuthorityFactory } from '@azure/msal-common';
|
|
4
4
|
import { buildAppConfiguration } from '../config/Configuration.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { BaseClient, ScopeSet, CacheOutcome, TokenCacheContext, TimeUtils, ResponseHandler, Constants, CredentialType, createClientAuthError, ClientAuthErrorCodes, UrlString, RequestParameterBuilder, GrantType, StringUtils, AuthenticationScheme } from '@azure/msal-common';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { BaseClient, TimeUtils, ResponseHandler, UrlString, RequestParameterBuilder, createClientAuthError, ClientAuthErrorCodes, Constants, createAuthError, AuthErrorCodes, GrantType, StringUtils } from '@azure/msal-common';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { BaseClient, ScopeSet, CacheOutcome, createClientAuthError, ClientAuthErrorCodes, TimeUtils, AuthToken, ResponseHandler, AuthenticationScheme, CredentialType, UrlString, RequestParameterBuilder, GrantType, AADServerParamKeys, Constants } from '@azure/msal-common';
|
|
4
4
|
import { EncodingUtils } from '../utils/EncodingUtils.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -142,7 +142,7 @@ class PublicClientApplication extends ClientApplication.ClientApplication {
|
|
|
142
142
|
clientInfo: clientInfo || msalCommon.Constants.EMPTY_STRING,
|
|
143
143
|
...validRequest,
|
|
144
144
|
};
|
|
145
|
-
return this.acquireTokenByCode(tokenRequest);
|
|
145
|
+
return await this.acquireTokenByCode(tokenRequest); // Await this so the server doesn't close prematurely
|
|
146
146
|
}
|
|
147
147
|
finally {
|
|
148
148
|
loopbackClient.closeServer();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ApiId, LOOPBACK_SERVER_CONSTANTS, Constants as Constants$1 } from '../utils/Constants.mjs';
|
|
4
4
|
import { AuthError, OIDC_DEFAULT_SCOPES, ResponseMode, CodeChallengeMethodValues, ServerError, Constants } from '@azure/msal-common';
|
|
@@ -140,7 +140,7 @@ class PublicClientApplication extends ClientApplication {
|
|
|
140
140
|
clientInfo: clientInfo || Constants.EMPTY_STRING,
|
|
141
141
|
...validRequest,
|
|
142
142
|
};
|
|
143
|
-
return this.acquireTokenByCode(tokenRequest);
|
|
143
|
+
return await this.acquireTokenByCode(tokenRequest); // Await this so the server doesn't close prematurely
|
|
144
144
|
}
|
|
145
145
|
finally {
|
|
146
146
|
loopbackClient.closeServer();
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
package/dist/internals.cjs
CHANGED
package/dist/internals.mjs
CHANGED
package/dist/packageMetadata.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
/* eslint-disable header/header */
|
|
6
6
|
const name = "@azure/msal-node";
|
|
7
|
-
const version = "2.5.
|
|
7
|
+
const version = "2.5.1";
|
|
8
8
|
|
|
9
9
|
exports.name = name;
|
|
10
10
|
exports.version = version;
|
package/dist/packageMetadata.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.5.
|
|
1
|
+
/*! @azure/msal-node v2.5.1 2023-11-07 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/* eslint-disable header/header */
|
|
4
4
|
const name = "@azure/msal-node";
|
|
5
|
-
const version = "2.5.
|
|
5
|
+
const version = "2.5.1";
|
|
6
6
|
|
|
7
7
|
export { name, version };
|
|
8
8
|
//# sourceMappingURL=packageMetadata.mjs.map
|
package/dist/utils/Constants.cjs
CHANGED
package/dist/utils/Constants.mjs
CHANGED
package/package.json
CHANGED
|
@@ -221,7 +221,7 @@ export class PublicClientApplication
|
|
|
221
221
|
clientInfo: clientInfo || CommonConstants.EMPTY_STRING,
|
|
222
222
|
...validRequest,
|
|
223
223
|
};
|
|
224
|
-
return this.acquireTokenByCode(tokenRequest);
|
|
224
|
+
return await this.acquireTokenByCode(tokenRequest); // Await this so the server doesn't close prematurely
|
|
225
225
|
} finally {
|
|
226
226
|
loopbackClient.closeServer();
|
|
227
227
|
}
|
package/src/packageMetadata.ts
CHANGED