Socket
Socket
Sign inDemoInstall

@azure/core-auth

Package Overview
Dependencies
Maintainers
1
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-auth - npm Package Compare versions

Comparing version 1.1.3-dev.20200507.1 to 1.1.3-dev.20200520.1

28

dist-esm/src/azureKeyCredential.js

@@ -7,3 +7,3 @@ // Copyright (c) Microsoft Corporation.

*/
export class AzureKeyCredential {
var AzureKeyCredential = /** @class */ (function () {
/**

@@ -15,3 +15,3 @@ * Create an instance of an AzureKeyCredential for use

*/
constructor(key) {
function AzureKeyCredential(key) {
if (!key) {

@@ -22,9 +22,13 @@ throw new Error("key must be a non-empty string");

}
Object.defineProperty(AzureKeyCredential.prototype, "key", {
/**
* The value of the key to be used in authentication
*/
get: function () {
return this._key;
},
enumerable: true,
configurable: true
});
/**
* The value of the key to be used in authentication
*/
get key() {
return this._key;
}
/**
* Change the value of the key.

@@ -37,6 +41,8 @@ *

*/
update(newKey) {
AzureKeyCredential.prototype.update = function (newKey) {
this._key = newKey;
}
}
};
return AzureKeyCredential;
}());
export { AzureKeyCredential };
//# sourceMappingURL=azureKeyCredential.js.map

@@ -11,3 +11,3 @@ 'use strict';

*/
class AzureKeyCredential {
var AzureKeyCredential = /** @class */ (function () {
/**

@@ -19,3 +19,3 @@ * Create an instance of an AzureKeyCredential for use

*/
constructor(key) {
function AzureKeyCredential(key) {
if (!key) {

@@ -26,9 +26,13 @@ throw new Error("key must be a non-empty string");

}
Object.defineProperty(AzureKeyCredential.prototype, "key", {
/**
* The value of the key to be used in authentication
*/
get: function () {
return this._key;
},
enumerable: true,
configurable: true
});
/**
* The value of the key to be used in authentication
*/
get key() {
return this._key;
}
/**
* Change the value of the key.

@@ -41,6 +45,7 @@ *

*/
update(newKey) {
AzureKeyCredential.prototype.update = function (newKey) {
this._key = newKey;
}
}
};
return AzureKeyCredential;
}());

@@ -47,0 +52,0 @@ // Copyright (c) Microsoft Corporation.

{
"name": "@azure/core-auth",
"version": "1.1.3-dev.20200507.1",
"version": "1.1.3-dev.20200520.1",
"description": "Provides low-level interfaces and helper methods for authentication in Azure SDK",

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc