@azure/msal-node 2.0.0-alpha.1 → 2.0.0-alpha.2

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.
Files changed (107) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +182 -182
  3. package/dist/cache/ITokenCache.d.ts +15 -15
  4. package/dist/cache/NodeStorage.d.ts +182 -182
  5. package/dist/cache/NodeStorage.esm.js +401 -401
  6. package/dist/cache/NodeStorage.js +401 -401
  7. package/dist/cache/TokenCache.d.ts +90 -90
  8. package/dist/cache/TokenCache.esm.js +269 -269
  9. package/dist/cache/TokenCache.js +269 -269
  10. package/dist/cache/distributed/DistributedCachePlugin.d.ts +10 -10
  11. package/dist/cache/distributed/DistributedCachePlugin.esm.js +26 -26
  12. package/dist/cache/distributed/DistributedCachePlugin.js +26 -26
  13. package/dist/cache/distributed/ICacheClient.d.ts +17 -17
  14. package/dist/cache/distributed/IPartitionManager.d.ts +28 -28
  15. package/dist/cache/serializer/Deserializer.d.ts +42 -42
  16. package/dist/cache/serializer/Deserializer.esm.js +175 -175
  17. package/dist/cache/serializer/Deserializer.js +175 -175
  18. package/dist/cache/serializer/Serializer.d.ts +39 -39
  19. package/dist/cache/serializer/Serializer.esm.js +134 -134
  20. package/dist/cache/serializer/Serializer.js +134 -134
  21. package/dist/cache/serializer/SerializerTypes.d.ts +101 -101
  22. package/dist/client/ClientApplication.d.ts +142 -142
  23. package/dist/client/ClientApplication.esm.js +327 -327
  24. package/dist/client/ClientApplication.js +327 -327
  25. package/dist/client/ClientAssertion.d.ts +46 -46
  26. package/dist/client/ClientAssertion.esm.js +116 -116
  27. package/dist/client/ClientAssertion.js +116 -116
  28. package/dist/client/ClientCredentialClient.d.ts +33 -33
  29. package/dist/client/ClientCredentialClient.esm.js +157 -157
  30. package/dist/client/ClientCredentialClient.js +157 -157
  31. package/dist/client/ConfidentialClientApplication.d.ts +58 -58
  32. package/dist/client/ConfidentialClientApplication.esm.js +163 -163
  33. package/dist/client/ConfidentialClientApplication.js +163 -163
  34. package/dist/client/DeviceCodeClient.d.ts +53 -53
  35. package/dist/client/DeviceCodeClient.esm.js +207 -207
  36. package/dist/client/DeviceCodeClient.js +207 -207
  37. package/dist/client/IConfidentialClientApplication.d.ts +39 -39
  38. package/dist/client/IPublicClientApplication.d.ts +42 -42
  39. package/dist/client/OnBehalfOfClient.d.ts +47 -47
  40. package/dist/client/OnBehalfOfClient.esm.js +204 -204
  41. package/dist/client/OnBehalfOfClient.js +204 -204
  42. package/dist/client/PublicClientApplication.d.ts +65 -65
  43. package/dist/client/PublicClientApplication.esm.js +175 -175
  44. package/dist/client/PublicClientApplication.js +175 -175
  45. package/dist/client/UsernamePasswordClient.d.ts +25 -25
  46. package/dist/client/UsernamePasswordClient.esm.js +102 -102
  47. package/dist/client/UsernamePasswordClient.js +102 -102
  48. package/dist/config/Configuration.d.ts +105 -105
  49. package/dist/config/Configuration.esm.js +70 -70
  50. package/dist/config/Configuration.js +70 -70
  51. package/dist/crypto/CryptoProvider.d.ts +52 -52
  52. package/dist/crypto/CryptoProvider.esm.js +75 -75
  53. package/dist/crypto/CryptoProvider.js +75 -75
  54. package/dist/crypto/GuidGenerator.d.ts +14 -14
  55. package/dist/crypto/GuidGenerator.esm.js +22 -22
  56. package/dist/crypto/GuidGenerator.js +22 -22
  57. package/dist/crypto/HashUtils.d.ts +8 -8
  58. package/dist/crypto/HashUtils.esm.js +13 -13
  59. package/dist/crypto/HashUtils.js +13 -13
  60. package/dist/crypto/PkceGenerator.d.ts +22 -22
  61. package/dist/crypto/PkceGenerator.esm.js +49 -49
  62. package/dist/crypto/PkceGenerator.js +49 -49
  63. package/dist/error/NodeAuthError.d.ts +65 -65
  64. package/dist/error/NodeAuthError.esm.js +85 -85
  65. package/dist/error/NodeAuthError.js +85 -85
  66. package/dist/index.d.ts +41 -41
  67. package/dist/index.esm.js +1 -1
  68. package/dist/index.js +1 -1
  69. package/dist/internals.d.ts +6 -6
  70. package/dist/internals.esm.js +4 -4
  71. package/dist/internals.js +4 -4
  72. package/dist/network/HttpClient.d.ts +25 -25
  73. package/dist/network/HttpClient.esm.js +276 -276
  74. package/dist/network/HttpClient.js +276 -276
  75. package/dist/network/ILoopbackClient.d.ts +10 -10
  76. package/dist/network/LoopbackClient.d.ts +21 -21
  77. package/dist/network/LoopbackClient.esm.js +84 -84
  78. package/dist/network/LoopbackClient.js +84 -84
  79. package/dist/packageMetadata.d.ts +2 -2
  80. package/dist/packageMetadata.esm.js +4 -4
  81. package/dist/packageMetadata.js +4 -4
  82. package/dist/request/AuthorizationCodeRequest.d.ts +21 -21
  83. package/dist/request/AuthorizationUrlRequest.d.ts +33 -33
  84. package/dist/request/ClientCredentialRequest.d.ts +15 -15
  85. package/dist/request/DeviceCodeRequest.d.ts +15 -15
  86. package/dist/request/InteractiveRequest.d.ts +22 -22
  87. package/dist/request/OnBehalfOfRequest.d.ts +14 -14
  88. package/dist/request/RefreshTokenRequest.d.ts +17 -17
  89. package/dist/request/SignOutRequest.d.ts +5 -5
  90. package/dist/request/SilentFlowRequest.d.ts +16 -16
  91. package/dist/request/UsernamePasswordRequest.d.ts +19 -19
  92. package/dist/utils/Constants.d.ts +92 -92
  93. package/dist/utils/Constants.esm.js +93 -93
  94. package/dist/utils/Constants.js +93 -93
  95. package/dist/utils/EncodingUtils.d.ts +26 -26
  96. package/dist/utils/EncodingUtils.esm.js +44 -44
  97. package/dist/utils/EncodingUtils.js +44 -44
  98. package/dist/utils/NetworkUtils.d.ts +5 -5
  99. package/dist/utils/NetworkUtils.esm.js +38 -38
  100. package/dist/utils/NetworkUtils.js +38 -38
  101. package/package.json +73 -73
  102. package/dist/msal-node.cjs.development.js +0 -2705
  103. package/dist/msal-node.cjs.development.js.map +0 -1
  104. package/dist/msal-node.cjs.production.min.js +0 -2
  105. package/dist/msal-node.cjs.production.min.js.map +0 -1
  106. package/dist/msal-node.esm.js +0 -2594
  107. package/dist/msal-node.esm.js.map +0 -1
package/package.json CHANGED
@@ -1,74 +1,74 @@
1
- {
2
- "name": "@azure/msal-node",
3
- "version": "2.0.0-alpha.1",
4
- "author": {
5
- "name": "Microsoft",
6
- "email": "nugetaad@microsoft.com",
7
- "url": "https://www.microsoft.com"
8
- },
9
- "license": "MIT",
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
13
- },
14
- "description": "Microsoft Authentication Library for Node",
15
- "keywords": [
16
- "js",
17
- "ts",
18
- "node",
19
- "AAD",
20
- "msal",
21
- "oauth"
22
- ],
23
- "main": "dist/index.js",
24
- "types": "dist/index.d.ts",
25
- "files": [
26
- "dist"
27
- ],
28
- "scripts": {
29
- "build": "rollup -c --strictDeprecations --bundleConfigAsCjs",
30
- "build:watch": "rollup -c --watch --strictDeprecations --bundleConfigAsCjs",
31
- "test": "jest",
32
- "test:watch": "jest --watch",
33
- "test:coverage": "jest --coverage",
34
- "lint": "cd ../../ && npm run lint:node",
35
- "lint:fix": "npm run lint -- -- --fix",
36
- "build:all": "npm run build:common && npm run build",
37
- "build:common": "cd ../msal-common && npm run build",
38
- "link:localDeps": "npx lerna bootstrap --scope @azure/msal-common --scope @azure/msal-node",
39
- "prepack": "npm run build:all",
40
- "format:check": "npx prettier --ignore-path .gitignore --check src test",
41
- "format:fix": "npx prettier --ignore-path .gitignore --write src test"
42
- },
43
- "beachball": {
44
- "disallowedChangeTypes": []
45
- },
46
- "module": "dist/msal-node.esm.js",
47
- "devDependencies": {
48
- "@microsoft/api-extractor": "^7.19.4",
49
- "@rollup/plugin-node-resolve": "^15.0.1",
50
- "@rollup/plugin-typescript": "^11.0.0",
51
- "@types/jest": "^25.2.3",
52
- "@types/jsonwebtoken": "^8.5.5",
53
- "@types/node": "^13.13.4",
54
- "@types/sinon": "^7.5.0",
55
- "@types/uuid": "^7.0.0",
56
- "husky": "^4.2.3",
57
- "jest": "^29.5.0",
58
- "prettier": "2.8.7",
59
- "rollup": "^3.20.1",
60
- "sinon": "^7.5.0",
61
- "ts-jest": "^29.0.5",
62
- "tslib": "^1.10.0",
63
- "typescript": "^4.9.5",
64
- "yargs": "^17.3.1"
65
- },
66
- "dependencies": {
67
- "@azure/msal-common": "14.0.0-alpha.1",
68
- "jsonwebtoken": "^9.0.0",
69
- "uuid": "^8.3.0"
70
- },
71
- "engines": {
72
- "node": "18 || 20"
73
- }
1
+ {
2
+ "name": "@azure/msal-node",
3
+ "version": "2.0.0-alpha.2",
4
+ "author": {
5
+ "name": "Microsoft",
6
+ "email": "nugetaad@microsoft.com",
7
+ "url": "https://www.microsoft.com"
8
+ },
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
13
+ },
14
+ "description": "Microsoft Authentication Library for Node",
15
+ "keywords": [
16
+ "js",
17
+ "ts",
18
+ "node",
19
+ "AAD",
20
+ "msal",
21
+ "oauth"
22
+ ],
23
+ "main": "dist/index.js",
24
+ "types": "dist/index.d.ts",
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "scripts": {
29
+ "build": "rollup -c --strictDeprecations --bundleConfigAsCjs",
30
+ "build:watch": "rollup -c --watch --strictDeprecations --bundleConfigAsCjs",
31
+ "test": "jest",
32
+ "test:watch": "jest --watch",
33
+ "test:coverage": "jest --coverage",
34
+ "lint": "cd ../../ && npm run lint:node",
35
+ "lint:fix": "npm run lint -- -- --fix",
36
+ "build:all": "npm run build:common && npm run build",
37
+ "build:common": "cd ../msal-common && npm run build",
38
+ "link:localDeps": "npx lerna bootstrap --scope @azure/msal-common --scope @azure/msal-node",
39
+ "prepack": "npm run build:all",
40
+ "format:check": "npx prettier --ignore-path .gitignore --check src test",
41
+ "format:fix": "npx prettier --ignore-path .gitignore --write src test"
42
+ },
43
+ "beachball": {
44
+ "disallowedChangeTypes": []
45
+ },
46
+ "module": "dist/msal-node.esm.js",
47
+ "devDependencies": {
48
+ "@microsoft/api-extractor": "^7.19.4",
49
+ "@rollup/plugin-node-resolve": "^15.0.1",
50
+ "@rollup/plugin-typescript": "^11.0.0",
51
+ "@types/jest": "^25.2.3",
52
+ "@types/jsonwebtoken": "^8.5.5",
53
+ "@types/node": "^13.13.4",
54
+ "@types/sinon": "^7.5.0",
55
+ "@types/uuid": "^7.0.0",
56
+ "husky": "^4.2.3",
57
+ "jest": "^29.5.0",
58
+ "prettier": "2.8.7",
59
+ "rollup": "^3.20.1",
60
+ "sinon": "^7.5.0",
61
+ "ts-jest": "^29.0.5",
62
+ "tslib": "^1.10.0",
63
+ "typescript": "^4.9.5",
64
+ "yargs": "^17.3.1"
65
+ },
66
+ "dependencies": {
67
+ "@azure/msal-common": "14.0.0-alpha.2",
68
+ "jsonwebtoken": "^9.0.0",
69
+ "uuid": "^8.3.0"
70
+ },
71
+ "engines": {
72
+ "node": "18 || 20"
73
+ }
74
74
  }