@azure/msal-node
Advanced tools
Comparing version 2.14.0 to 2.15.0
export declare const name = "@azure/msal-node"; | ||
export declare const version = "2.14.0"; | ||
export declare const version = "2.15.0"; | ||
//# sourceMappingURL=packageMetadata.d.ts.map |
/// <reference types="node" resolution-mode="require"/> | ||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node"; | ||
import { ILoopbackClient } from "../network/ILoopbackClient.js"; | ||
import { AuthorizationUrlRequest } from "./AuthorizationUrlRequest.js"; | ||
/** | ||
@@ -15,3 +15,3 @@ * Request object passed by user to configure acquireTokenInteractive API | ||
*/ | ||
export type InteractiveRequest = Pick<AuthorizationUrlRequest, "authority" | "correlationId" | "claims" | "azureCloudOptions" | "account" | "extraQueryParameters" | "tokenQueryParameters" | "extraScopesToConsent" | "loginHint" | "prompt"> & { | ||
export type InteractiveRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "requestedClaimsHash" | "storeInCache">> & { | ||
openBrowser: (url: string) => Promise<void>; | ||
@@ -18,0 +18,0 @@ scopes?: Array<string>; |
/** | ||
* ManagedIdentityRequest | ||
* - claims - a stringified claims request which will be used to determine whether or not the cache should be skipped | ||
* - forceRefresh - forces managed identity requests to skip the cache and make network calls if true | ||
* - resource - resource requested to access the protected API. It should be of the form "{ResourceIdUri}" or {ResourceIdUri/.default}. For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default | ||
* - resource - resource requested to access the protected API. It should be of the form "{ResourceIdUri}" or {ResourceIdUri/.default}. For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default | ||
*/ | ||
export type ManagedIdentityRequestParams = { | ||
claims?: string; | ||
forceRefresh?: boolean; | ||
@@ -8,0 +10,0 @@ resource: string; |
@@ -13,3 +13,3 @@ import { AccountInfo, CommonSilentFlowRequest } from "@azure/msal-common/node"; | ||
*/ | ||
export type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "storeInCache">> & { | ||
export type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "requestedClaimsHash" | "storeInCache">> & { | ||
account: AccountInfo; | ||
@@ -16,0 +16,0 @@ scopes: Array<string>; |
export declare const name = "@azure/msal-node"; | ||
export declare const version = "2.14.0"; | ||
export declare const version = "2.15.0"; | ||
//# sourceMappingURL=packageMetadata.d.ts.map |
/// <reference types="node" resolution-mode="require"/> | ||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node"; | ||
import { ILoopbackClient } from "../network/ILoopbackClient.js"; | ||
import { AuthorizationUrlRequest } from "./AuthorizationUrlRequest.js"; | ||
/** | ||
@@ -15,3 +15,3 @@ * Request object passed by user to configure acquireTokenInteractive API | ||
*/ | ||
export type InteractiveRequest = Pick<AuthorizationUrlRequest, "authority" | "correlationId" | "claims" | "azureCloudOptions" | "account" | "extraQueryParameters" | "tokenQueryParameters" | "extraScopesToConsent" | "loginHint" | "prompt"> & { | ||
export type InteractiveRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "requestedClaimsHash" | "storeInCache">> & { | ||
openBrowser: (url: string) => Promise<void>; | ||
@@ -18,0 +18,0 @@ scopes?: Array<string>; |
/** | ||
* ManagedIdentityRequest | ||
* - claims - a stringified claims request which will be used to determine whether or not the cache should be skipped | ||
* - forceRefresh - forces managed identity requests to skip the cache and make network calls if true | ||
* - resource - resource requested to access the protected API. It should be of the form "{ResourceIdUri}" or {ResourceIdUri/.default}. For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default | ||
* - resource - resource requested to access the protected API. It should be of the form "{ResourceIdUri}" or {ResourceIdUri/.default}. For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default | ||
*/ | ||
export type ManagedIdentityRequestParams = { | ||
claims?: string; | ||
forceRefresh?: boolean; | ||
@@ -8,0 +10,0 @@ resource: string; |
@@ -13,3 +13,3 @@ import { AccountInfo, CommonSilentFlowRequest } from "@azure/msal-common/node"; | ||
*/ | ||
export type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "storeInCache">> & { | ||
export type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "requestedClaimsHash" | "storeInCache">> & { | ||
account: AccountInfo; | ||
@@ -16,0 +16,0 @@ scopes: Array<string>; |
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "@azure/msal-node", | ||
"version": "2.14.0", | ||
"version": "2.15.0", | ||
"author": { | ||
@@ -77,3 +77,3 @@ "name": "Microsoft", | ||
"prettier": "2.8.7", | ||
"rollup": "^3.20.1", | ||
"rollup": "^3.29.5", | ||
"rollup-msal": "file:../../shared-configs/rollup-msal", | ||
@@ -80,0 +80,0 @@ "ts-jest": "^29.1.0", |
@@ -145,3 +145,6 @@ /* | ||
if (managedIdentityRequest.forceRefresh) { | ||
if ( | ||
managedIdentityRequestParams.claims || | ||
managedIdentityRequest.forceRefresh | ||
) { | ||
// make a network call to the managed identity source | ||
@@ -148,0 +151,0 @@ return this.managedIdentityClient.sendManagedIdentityTokenRequest( |
/* eslint-disable header/header */ | ||
export const name = "@azure/msal-node"; | ||
export const version = "2.14.0"; | ||
export const version = "2.15.0"; |
@@ -6,4 +6,4 @@ /* | ||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node"; | ||
import { ILoopbackClient } from "../network/ILoopbackClient.js"; | ||
import { AuthorizationUrlRequest } from "./AuthorizationUrlRequest.js"; | ||
@@ -21,14 +21,7 @@ /** | ||
*/ | ||
export type InteractiveRequest = Pick< | ||
AuthorizationUrlRequest, | ||
| "authority" | ||
| "correlationId" | ||
| "claims" | ||
| "azureCloudOptions" | ||
| "account" | ||
| "extraQueryParameters" | ||
| "tokenQueryParameters" | ||
| "extraScopesToConsent" | ||
| "loginHint" | ||
| "prompt" | ||
export type InteractiveRequest = Partial< | ||
Omit< | ||
CommonAuthorizationUrlRequest, | ||
"scopes" | "redirectUri" | "requestedClaimsHash" | "storeInCache" | ||
> | ||
> & { | ||
@@ -35,0 +28,0 @@ openBrowser: (url: string) => Promise<void>; |
@@ -8,8 +8,10 @@ /* | ||
* ManagedIdentityRequest | ||
* - claims - a stringified claims request which will be used to determine whether or not the cache should be skipped | ||
* - forceRefresh - forces managed identity requests to skip the cache and make network calls if true | ||
* - resource - resource requested to access the protected API. It should be of the form "{ResourceIdUri}" or {ResourceIdUri/.default}. For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default | ||
* - resource - resource requested to access the protected API. It should be of the form "{ResourceIdUri}" or {ResourceIdUri/.default}. For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default | ||
*/ | ||
export type ManagedIdentityRequestParams = { | ||
claims?: string; | ||
forceRefresh?: boolean; | ||
resource: string; | ||
}; |
@@ -22,8 +22,3 @@ /* | ||
CommonSilentFlowRequest, | ||
| "account" | ||
| "scopes" | ||
| "resourceRequestMethod" | ||
| "resourceRequestUri" | ||
| "requestedClaimsHash" | ||
| "storeInCache" | ||
"account" | "scopes" | "requestedClaimsHash" | "storeInCache" | ||
> | ||
@@ -30,0 +25,0 @@ > & { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2250604
111
2
4
1
39
28968