@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
@@ -1,183 +1,183 @@
1
- /*! @azure/msal-node v2.0.0-alpha.1 2023-05-08 */
1
+ /*! @azure/msal-node v2.0.0-alpha.2 2023-05-17 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
5
  var msalCommon = require('@azure/msal-common');
6
6
 
7
- /*
8
- * Copyright (c) Microsoft Corporation. All rights reserved.
9
- * Licensed under the MIT License.
10
- */
11
- /**
12
- * This class deserializes cache entities read from the file into in memory object types defined internally
13
- */
14
- class Deserializer {
15
- /**
16
- * Parse the JSON blob in memory and deserialize the content
17
- * @param cachedJson
18
- */
19
- static deserializeJSONBlob(jsonFile) {
20
- const deserializedCache = msalCommon.StringUtils.isEmpty(jsonFile)
21
- ? {}
22
- : JSON.parse(jsonFile);
23
- return deserializedCache;
24
- }
25
- /**
26
- * Deserializes accounts to AccountEntity objects
27
- * @param accounts
28
- */
29
- static deserializeAccounts(accounts) {
30
- const accountObjects = {};
31
- if (accounts) {
32
- Object.keys(accounts).map(function (key) {
33
- const serializedAcc = accounts[key];
34
- const mappedAcc = {
35
- homeAccountId: serializedAcc.home_account_id,
36
- environment: serializedAcc.environment,
37
- realm: serializedAcc.realm,
38
- localAccountId: serializedAcc.local_account_id,
39
- username: serializedAcc.username,
40
- authorityType: serializedAcc.authority_type,
41
- name: serializedAcc.name,
42
- clientInfo: serializedAcc.client_info,
43
- lastModificationTime: serializedAcc.last_modification_time,
44
- lastModificationApp: serializedAcc.last_modification_app,
45
- };
46
- const account = new msalCommon.AccountEntity();
47
- msalCommon.CacheManager.toObject(account, mappedAcc);
48
- accountObjects[key] = account;
49
- });
50
- }
51
- return accountObjects;
52
- }
53
- /**
54
- * Deserializes id tokens to IdTokenEntity objects
55
- * @param idTokens
56
- */
57
- static deserializeIdTokens(idTokens) {
58
- const idObjects = {};
59
- if (idTokens) {
60
- Object.keys(idTokens).map(function (key) {
61
- const serializedIdT = idTokens[key];
62
- const mappedIdT = {
63
- homeAccountId: serializedIdT.home_account_id,
64
- environment: serializedIdT.environment,
65
- credentialType: serializedIdT.credential_type,
66
- clientId: serializedIdT.client_id,
67
- secret: serializedIdT.secret,
68
- realm: serializedIdT.realm,
69
- };
70
- const idToken = new msalCommon.IdTokenEntity();
71
- msalCommon.CacheManager.toObject(idToken, mappedIdT);
72
- idObjects[key] = idToken;
73
- });
74
- }
75
- return idObjects;
76
- }
77
- /**
78
- * Deserializes access tokens to AccessTokenEntity objects
79
- * @param accessTokens
80
- */
81
- static deserializeAccessTokens(accessTokens) {
82
- const atObjects = {};
83
- if (accessTokens) {
84
- Object.keys(accessTokens).map(function (key) {
85
- const serializedAT = accessTokens[key];
86
- const mappedAT = {
87
- homeAccountId: serializedAT.home_account_id,
88
- environment: serializedAT.environment,
89
- credentialType: serializedAT.credential_type,
90
- clientId: serializedAT.client_id,
91
- secret: serializedAT.secret,
92
- realm: serializedAT.realm,
93
- target: serializedAT.target,
94
- cachedAt: serializedAT.cached_at,
95
- expiresOn: serializedAT.expires_on,
96
- extendedExpiresOn: serializedAT.extended_expires_on,
97
- refreshOn: serializedAT.refresh_on,
98
- keyId: serializedAT.key_id,
99
- tokenType: serializedAT.token_type,
100
- requestedClaims: serializedAT.requestedClaims,
101
- requestedClaimsHash: serializedAT.requestedClaimsHash,
102
- userAssertionHash: serializedAT.userAssertionHash,
103
- };
104
- const accessToken = new msalCommon.AccessTokenEntity();
105
- msalCommon.CacheManager.toObject(accessToken, mappedAT);
106
- atObjects[key] = accessToken;
107
- });
108
- }
109
- return atObjects;
110
- }
111
- /**
112
- * Deserializes refresh tokens to RefreshTokenEntity objects
113
- * @param refreshTokens
114
- */
115
- static deserializeRefreshTokens(refreshTokens) {
116
- const rtObjects = {};
117
- if (refreshTokens) {
118
- Object.keys(refreshTokens).map(function (key) {
119
- const serializedRT = refreshTokens[key];
120
- const mappedRT = {
121
- homeAccountId: serializedRT.home_account_id,
122
- environment: serializedRT.environment,
123
- credentialType: serializedRT.credential_type,
124
- clientId: serializedRT.client_id,
125
- secret: serializedRT.secret,
126
- familyId: serializedRT.family_id,
127
- target: serializedRT.target,
128
- realm: serializedRT.realm,
129
- };
130
- const refreshToken = new msalCommon.RefreshTokenEntity();
131
- msalCommon.CacheManager.toObject(refreshToken, mappedRT);
132
- rtObjects[key] = refreshToken;
133
- });
134
- }
135
- return rtObjects;
136
- }
137
- /**
138
- * Deserializes appMetadata to AppMetaData objects
139
- * @param appMetadata
140
- */
141
- static deserializeAppMetadata(appMetadata) {
142
- const appMetadataObjects = {};
143
- if (appMetadata) {
144
- Object.keys(appMetadata).map(function (key) {
145
- const serializedAmdt = appMetadata[key];
146
- const mappedAmd = {
147
- clientId: serializedAmdt.client_id,
148
- environment: serializedAmdt.environment,
149
- familyId: serializedAmdt.family_id,
150
- };
151
- const amd = new msalCommon.AppMetadataEntity();
152
- msalCommon.CacheManager.toObject(amd, mappedAmd);
153
- appMetadataObjects[key] = amd;
154
- });
155
- }
156
- return appMetadataObjects;
157
- }
158
- /**
159
- * Deserialize an inMemory Cache
160
- * @param jsonCache
161
- */
162
- static deserializeAllCache(jsonCache) {
163
- return {
164
- accounts: jsonCache.Account
165
- ? this.deserializeAccounts(jsonCache.Account)
166
- : {},
167
- idTokens: jsonCache.IdToken
168
- ? this.deserializeIdTokens(jsonCache.IdToken)
169
- : {},
170
- accessTokens: jsonCache.AccessToken
171
- ? this.deserializeAccessTokens(jsonCache.AccessToken)
172
- : {},
173
- refreshTokens: jsonCache.RefreshToken
174
- ? this.deserializeRefreshTokens(jsonCache.RefreshToken)
175
- : {},
176
- appMetadata: jsonCache.AppMetadata
177
- ? this.deserializeAppMetadata(jsonCache.AppMetadata)
178
- : {},
179
- };
180
- }
7
+ /*
8
+ * Copyright (c) Microsoft Corporation. All rights reserved.
9
+ * Licensed under the MIT License.
10
+ */
11
+ /**
12
+ * This class deserializes cache entities read from the file into in memory object types defined internally
13
+ */
14
+ class Deserializer {
15
+ /**
16
+ * Parse the JSON blob in memory and deserialize the content
17
+ * @param cachedJson
18
+ */
19
+ static deserializeJSONBlob(jsonFile) {
20
+ const deserializedCache = msalCommon.StringUtils.isEmpty(jsonFile)
21
+ ? {}
22
+ : JSON.parse(jsonFile);
23
+ return deserializedCache;
24
+ }
25
+ /**
26
+ * Deserializes accounts to AccountEntity objects
27
+ * @param accounts
28
+ */
29
+ static deserializeAccounts(accounts) {
30
+ const accountObjects = {};
31
+ if (accounts) {
32
+ Object.keys(accounts).map(function (key) {
33
+ const serializedAcc = accounts[key];
34
+ const mappedAcc = {
35
+ homeAccountId: serializedAcc.home_account_id,
36
+ environment: serializedAcc.environment,
37
+ realm: serializedAcc.realm,
38
+ localAccountId: serializedAcc.local_account_id,
39
+ username: serializedAcc.username,
40
+ authorityType: serializedAcc.authority_type,
41
+ name: serializedAcc.name,
42
+ clientInfo: serializedAcc.client_info,
43
+ lastModificationTime: serializedAcc.last_modification_time,
44
+ lastModificationApp: serializedAcc.last_modification_app,
45
+ };
46
+ const account = new msalCommon.AccountEntity();
47
+ msalCommon.CacheManager.toObject(account, mappedAcc);
48
+ accountObjects[key] = account;
49
+ });
50
+ }
51
+ return accountObjects;
52
+ }
53
+ /**
54
+ * Deserializes id tokens to IdTokenEntity objects
55
+ * @param idTokens
56
+ */
57
+ static deserializeIdTokens(idTokens) {
58
+ const idObjects = {};
59
+ if (idTokens) {
60
+ Object.keys(idTokens).map(function (key) {
61
+ const serializedIdT = idTokens[key];
62
+ const mappedIdT = {
63
+ homeAccountId: serializedIdT.home_account_id,
64
+ environment: serializedIdT.environment,
65
+ credentialType: serializedIdT.credential_type,
66
+ clientId: serializedIdT.client_id,
67
+ secret: serializedIdT.secret,
68
+ realm: serializedIdT.realm,
69
+ };
70
+ const idToken = new msalCommon.IdTokenEntity();
71
+ msalCommon.CacheManager.toObject(idToken, mappedIdT);
72
+ idObjects[key] = idToken;
73
+ });
74
+ }
75
+ return idObjects;
76
+ }
77
+ /**
78
+ * Deserializes access tokens to AccessTokenEntity objects
79
+ * @param accessTokens
80
+ */
81
+ static deserializeAccessTokens(accessTokens) {
82
+ const atObjects = {};
83
+ if (accessTokens) {
84
+ Object.keys(accessTokens).map(function (key) {
85
+ const serializedAT = accessTokens[key];
86
+ const mappedAT = {
87
+ homeAccountId: serializedAT.home_account_id,
88
+ environment: serializedAT.environment,
89
+ credentialType: serializedAT.credential_type,
90
+ clientId: serializedAT.client_id,
91
+ secret: serializedAT.secret,
92
+ realm: serializedAT.realm,
93
+ target: serializedAT.target,
94
+ cachedAt: serializedAT.cached_at,
95
+ expiresOn: serializedAT.expires_on,
96
+ extendedExpiresOn: serializedAT.extended_expires_on,
97
+ refreshOn: serializedAT.refresh_on,
98
+ keyId: serializedAT.key_id,
99
+ tokenType: serializedAT.token_type,
100
+ requestedClaims: serializedAT.requestedClaims,
101
+ requestedClaimsHash: serializedAT.requestedClaimsHash,
102
+ userAssertionHash: serializedAT.userAssertionHash,
103
+ };
104
+ const accessToken = new msalCommon.AccessTokenEntity();
105
+ msalCommon.CacheManager.toObject(accessToken, mappedAT);
106
+ atObjects[key] = accessToken;
107
+ });
108
+ }
109
+ return atObjects;
110
+ }
111
+ /**
112
+ * Deserializes refresh tokens to RefreshTokenEntity objects
113
+ * @param refreshTokens
114
+ */
115
+ static deserializeRefreshTokens(refreshTokens) {
116
+ const rtObjects = {};
117
+ if (refreshTokens) {
118
+ Object.keys(refreshTokens).map(function (key) {
119
+ const serializedRT = refreshTokens[key];
120
+ const mappedRT = {
121
+ homeAccountId: serializedRT.home_account_id,
122
+ environment: serializedRT.environment,
123
+ credentialType: serializedRT.credential_type,
124
+ clientId: serializedRT.client_id,
125
+ secret: serializedRT.secret,
126
+ familyId: serializedRT.family_id,
127
+ target: serializedRT.target,
128
+ realm: serializedRT.realm,
129
+ };
130
+ const refreshToken = new msalCommon.RefreshTokenEntity();
131
+ msalCommon.CacheManager.toObject(refreshToken, mappedRT);
132
+ rtObjects[key] = refreshToken;
133
+ });
134
+ }
135
+ return rtObjects;
136
+ }
137
+ /**
138
+ * Deserializes appMetadata to AppMetaData objects
139
+ * @param appMetadata
140
+ */
141
+ static deserializeAppMetadata(appMetadata) {
142
+ const appMetadataObjects = {};
143
+ if (appMetadata) {
144
+ Object.keys(appMetadata).map(function (key) {
145
+ const serializedAmdt = appMetadata[key];
146
+ const mappedAmd = {
147
+ clientId: serializedAmdt.client_id,
148
+ environment: serializedAmdt.environment,
149
+ familyId: serializedAmdt.family_id,
150
+ };
151
+ const amd = new msalCommon.AppMetadataEntity();
152
+ msalCommon.CacheManager.toObject(amd, mappedAmd);
153
+ appMetadataObjects[key] = amd;
154
+ });
155
+ }
156
+ return appMetadataObjects;
157
+ }
158
+ /**
159
+ * Deserialize an inMemory Cache
160
+ * @param jsonCache
161
+ */
162
+ static deserializeAllCache(jsonCache) {
163
+ return {
164
+ accounts: jsonCache.Account
165
+ ? this.deserializeAccounts(jsonCache.Account)
166
+ : {},
167
+ idTokens: jsonCache.IdToken
168
+ ? this.deserializeIdTokens(jsonCache.IdToken)
169
+ : {},
170
+ accessTokens: jsonCache.AccessToken
171
+ ? this.deserializeAccessTokens(jsonCache.AccessToken)
172
+ : {},
173
+ refreshTokens: jsonCache.RefreshToken
174
+ ? this.deserializeRefreshTokens(jsonCache.RefreshToken)
175
+ : {},
176
+ appMetadata: jsonCache.AppMetadata
177
+ ? this.deserializeAppMetadata(jsonCache.AppMetadata)
178
+ : {},
179
+ };
180
+ }
181
181
  }
182
182
 
183
183
  exports.Deserializer = Deserializer;
@@ -1,40 +1,40 @@
1
- import { AccountCache, IdTokenCache, AccessTokenCache, RefreshTokenCache, AppMetadataCache } from "@azure/msal-common";
2
- import { InMemoryCache, JsonCache, SerializedAccountEntity, SerializedIdTokenEntity, SerializedAccessTokenEntity, SerializedRefreshTokenEntity, SerializedAppMetadataEntity } from "./SerializerTypes";
3
- export declare class Serializer {
4
- /**
5
- * serialize the JSON blob
6
- * @param data
7
- */
8
- static serializeJSONBlob(data: JsonCache): string;
9
- /**
10
- * Serialize Accounts
11
- * @param accCache
12
- */
13
- static serializeAccounts(accCache: AccountCache): Record<string, SerializedAccountEntity>;
14
- /**
15
- * Serialize IdTokens
16
- * @param idTCache
17
- */
18
- static serializeIdTokens(idTCache: IdTokenCache): Record<string, SerializedIdTokenEntity>;
19
- /**
20
- * Serializes AccessTokens
21
- * @param atCache
22
- */
23
- static serializeAccessTokens(atCache: AccessTokenCache): Record<string, SerializedAccessTokenEntity>;
24
- /**
25
- * Serialize refreshTokens
26
- * @param rtCache
27
- */
28
- static serializeRefreshTokens(rtCache: RefreshTokenCache): Record<string, SerializedRefreshTokenEntity>;
29
- /**
30
- * Serialize amdtCache
31
- * @param amdtCache
32
- */
33
- static serializeAppMetadata(amdtCache: AppMetadataCache): Record<string, SerializedAppMetadataEntity>;
34
- /**
35
- * Serialize the cache
36
- * @param jsonContent
37
- */
38
- static serializeAllCache(inMemCache: InMemoryCache): JsonCache;
39
- }
1
+ import { AccountCache, IdTokenCache, AccessTokenCache, RefreshTokenCache, AppMetadataCache } from "@azure/msal-common";
2
+ import { InMemoryCache, JsonCache, SerializedAccountEntity, SerializedIdTokenEntity, SerializedAccessTokenEntity, SerializedRefreshTokenEntity, SerializedAppMetadataEntity } from "./SerializerTypes";
3
+ export declare class Serializer {
4
+ /**
5
+ * serialize the JSON blob
6
+ * @param data
7
+ */
8
+ static serializeJSONBlob(data: JsonCache): string;
9
+ /**
10
+ * Serialize Accounts
11
+ * @param accCache
12
+ */
13
+ static serializeAccounts(accCache: AccountCache): Record<string, SerializedAccountEntity>;
14
+ /**
15
+ * Serialize IdTokens
16
+ * @param idTCache
17
+ */
18
+ static serializeIdTokens(idTCache: IdTokenCache): Record<string, SerializedIdTokenEntity>;
19
+ /**
20
+ * Serializes AccessTokens
21
+ * @param atCache
22
+ */
23
+ static serializeAccessTokens(atCache: AccessTokenCache): Record<string, SerializedAccessTokenEntity>;
24
+ /**
25
+ * Serialize refreshTokens
26
+ * @param rtCache
27
+ */
28
+ static serializeRefreshTokens(rtCache: RefreshTokenCache): Record<string, SerializedRefreshTokenEntity>;
29
+ /**
30
+ * Serialize amdtCache
31
+ * @param amdtCache
32
+ */
33
+ static serializeAppMetadata(amdtCache: AppMetadataCache): Record<string, SerializedAppMetadataEntity>;
34
+ /**
35
+ * Serialize the cache
36
+ * @param jsonContent
37
+ */
38
+ static serializeAllCache(inMemCache: InMemoryCache): JsonCache;
39
+ }
40
40
  //# sourceMappingURL=Serializer.d.ts.map