@azure/core-rest-pipeline
Advanced tools
Comparing version 1.18.0 to 1.18.1
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
export const SDK_VERSION = "1.18.0"; | ||
export const SDK_VERSION = "1.18.1"; | ||
export const DEFAULT_RETRY_POLICY_COUNT = 3; | ||
//# sourceMappingURL=constants.js.map |
@@ -78,8 +78,8 @@ // Copyright (c) Microsoft Corporation. | ||
export function bearerTokenAuthenticationPolicy(options) { | ||
var _a; | ||
var _a, _b, _c; | ||
const { credential, scopes, challengeCallbacks } = options; | ||
const logger = options.logger || coreLogger; | ||
const callbacks = { | ||
authorizeRequest: (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) !== null && _a !== void 0 ? _a : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge, | ||
authorizeRequest: (_b = (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) === null || _a === void 0 ? void 0 : _a.bind(challengeCallbacks)) !== null && _b !== void 0 ? _b : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: (_c = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge) === null || _c === void 0 ? void 0 : _c.bind(challengeCallbacks), | ||
}; | ||
@@ -86,0 +86,0 @@ // This function encapsulates the entire process of reliably retrieving the token |
@@ -6,4 +6,4 @@ "use strict"; | ||
exports.DEFAULT_RETRY_POLICY_COUNT = exports.SDK_VERSION = void 0; | ||
exports.SDK_VERSION = "1.18.0"; | ||
exports.SDK_VERSION = "1.18.1"; | ||
exports.DEFAULT_RETRY_POLICY_COUNT = 3; | ||
//# sourceMappingURL=constants.js.map |
@@ -83,8 +83,8 @@ "use strict"; | ||
function bearerTokenAuthenticationPolicy(options) { | ||
var _a; | ||
var _a, _b, _c; | ||
const { credential, scopes, challengeCallbacks } = options; | ||
const logger = options.logger || log_js_1.logger; | ||
const callbacks = { | ||
authorizeRequest: (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) !== null && _a !== void 0 ? _a : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge, | ||
authorizeRequest: (_b = (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) === null || _a === void 0 ? void 0 : _a.bind(challengeCallbacks)) !== null && _b !== void 0 ? _b : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: (_c = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge) === null || _c === void 0 ? void 0 : _c.bind(challengeCallbacks), | ||
}; | ||
@@ -91,0 +91,0 @@ // This function encapsulates the entire process of reliably retrieving the token |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.47.11" | ||
"packageVersion": "7.48.0" | ||
} | ||
] | ||
} |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
export const SDK_VERSION = "1.18.0"; | ||
export const SDK_VERSION = "1.18.1"; | ||
export const DEFAULT_RETRY_POLICY_COUNT = 3; | ||
//# sourceMappingURL=constants.js.map |
@@ -78,8 +78,8 @@ // Copyright (c) Microsoft Corporation. | ||
export function bearerTokenAuthenticationPolicy(options) { | ||
var _a; | ||
var _a, _b, _c; | ||
const { credential, scopes, challengeCallbacks } = options; | ||
const logger = options.logger || coreLogger; | ||
const callbacks = { | ||
authorizeRequest: (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) !== null && _a !== void 0 ? _a : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge, | ||
authorizeRequest: (_b = (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) === null || _a === void 0 ? void 0 : _a.bind(challengeCallbacks)) !== null && _b !== void 0 ? _b : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: (_c = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge) === null || _c === void 0 ? void 0 : _c.bind(challengeCallbacks), | ||
}; | ||
@@ -86,0 +86,0 @@ // This function encapsulates the entire process of reliably retrieving the token |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
export const SDK_VERSION = "1.18.0"; | ||
export const SDK_VERSION = "1.18.1"; | ||
export const DEFAULT_RETRY_POLICY_COUNT = 3; | ||
//# sourceMappingURL=constants.js.map |
@@ -78,8 +78,8 @@ // Copyright (c) Microsoft Corporation. | ||
export function bearerTokenAuthenticationPolicy(options) { | ||
var _a; | ||
var _a, _b, _c; | ||
const { credential, scopes, challengeCallbacks } = options; | ||
const logger = options.logger || coreLogger; | ||
const callbacks = { | ||
authorizeRequest: (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) !== null && _a !== void 0 ? _a : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge, | ||
authorizeRequest: (_b = (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) === null || _a === void 0 ? void 0 : _a.bind(challengeCallbacks)) !== null && _b !== void 0 ? _b : defaultAuthorizeRequest, | ||
authorizeRequestOnChallenge: (_c = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge) === null || _c === void 0 ? void 0 : _c.bind(challengeCallbacks), | ||
}; | ||
@@ -86,0 +86,0 @@ // This function encapsulates the entire process of reliably retrieving the token |
{ | ||
"name": "@azure/core-rest-pipeline", | ||
"version": "1.18.0", | ||
"version": "1.18.1", | ||
"description": "Isomorphic client library for making HTTP requests in node.js and browser.", | ||
@@ -5,0 +5,0 @@ "sdk-type": "client", |
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
2017307
760
19788
17
4
175