@azure/msal-node 1.9.1 → 1.12.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.
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@azure/msal-node";
2
- export declare const version = "1.9.1";
2
+ export declare const version = "1.12.0";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,qBAAqB,CAAC;AACvC,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,qBAAqB,CAAC;AACvC,eAAO,MAAM,OAAO,WAAW,CAAC"}
@@ -5,9 +5,11 @@ import { CommonClientCredentialRequest } from "@azure/msal-common";
5
5
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
6
6
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
7
7
  * - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
+ * - clientAssertion - A Base64Url-encoded signed JWT assertion string used in the Client Credential flow
8
9
  * @public
9
10
  */
10
- export declare type ClientCredentialRequest = Partial<Omit<CommonClientCredentialRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash">> & {
11
+ export declare type ClientCredentialRequest = Partial<Omit<CommonClientCredentialRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "clientAssertion">> & {
11
12
  scopes: Array<string>;
13
+ clientAssertion?: string;
12
14
  };
13
15
  //# sourceMappingURL=ClientCredentialRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientCredentialRequest.d.ts","sourceRoot":"","sources":["../src/request/ClientCredentialRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;GAOG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,qBAAqB,CAAC,CAAC,GAAG;IAC9J,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
1
+ {"version":3,"file":"ClientCredentialRequest.d.ts","sourceRoot":"","sources":["../src/request/ClientCredentialRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;GAQG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,qBAAqB,GAAC,iBAAiB,CAAC,CAAC,GAAG;IAChL,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC"}
@@ -6,11 +6,13 @@ import { CommonRefreshTokenRequest } from "@azure/msal-common";
6
6
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
7
7
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
8
8
  * - refreshToken - A refresh token returned from a previous request to the Identity provider.
9
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
9
+ * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
10
+ * - forceCache - Force MSAL to cache a refresh token flow response when there is no account in the cache. Used for migration scenarios.
10
11
  * @public
11
12
  */
12
13
  export declare type RefreshTokenRequest = Partial<Omit<CommonRefreshTokenRequest, "scopes" | "refreshToken" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash">> & {
13
14
  scopes: Array<string>;
14
15
  refreshToken: string;
16
+ forceCache?: boolean;
15
17
  };
16
18
  //# sourceMappingURL=RefreshTokenRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RefreshTokenRequest.d.ts","sourceRoot":"","sources":["../src/request/RefreshTokenRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D;;;;;;;;;GASG;AACH,oBAAY,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,QAAQ,GAAC,cAAc,GAAC,sBAAsB,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,qBAAqB,CAAC,CAAC,GAAG;IAC5L,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"RefreshTokenRequest.d.ts","sourceRoot":"","sources":["../src/request/RefreshTokenRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D;;;;;;;;;;GAUG;AACH,oBAAY,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,QAAQ,GAAC,cAAc,GAAC,sBAAsB,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,qBAAqB,CAAC,CAAC,GAAG;IAC5L,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/msal-node",
3
- "version": "1.9.1",
3
+ "version": "1.12.0",
4
4
  "author": {
5
5
  "name": "Microsoft",
6
6
  "email": "nugetaad@microsoft.com",
@@ -39,7 +39,6 @@
39
39
  "link:localDeps": "npx lerna bootstrap --scope @azure/msal-common --scope @azure/msal-node",
40
40
  "prepack": "npm run build:all"
41
41
  },
42
- "peerDependencies": {},
43
42
  "beachball": {
44
43
  "disallowedChangeTypes": [
45
44
  "major"
@@ -55,10 +54,11 @@
55
54
  "husky": "^4.2.3",
56
55
  "tsdx": "^0.14.1",
57
56
  "tslib": "^1.10.0",
58
- "typescript": "^3.8.3"
57
+ "typescript": "^3.8.3",
58
+ "yargs": "^17.3.1"
59
59
  },
60
60
  "dependencies": {
61
- "@azure/msal-common": "^6.4.0",
61
+ "@azure/msal-common": "^7.2.0",
62
62
  "jsonwebtoken": "^8.5.1",
63
63
  "uuid": "^8.3.0"
64
64
  },