Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/msal-node-extensions

Package Overview
Dependencies
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/msal-node-extensions - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

0

changelog.md

@@ -0,0 +0,0 @@ # 1.0.0-alpha.0

27

package.json
{
"name": "@azure/msal-node-extensions",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"keywords": [
"js",
"ts",
"node",
"AAD",
"msal",
"extensions"
],
"keywords": [
"js",
"ts",
"node",
"AAD",
"msal",
"extensions"
],
"files": [

@@ -24,6 +24,9 @@ "dist",

"start": "tsdx watch",
"build": "tsdx build",
"build": "npm run build:common && npm run link:common && tsdx build",
"build:common": "cd ../../lib/msal-common && npm i && npm run build && npm link",
"link:common": "npm link @azure/msal-common",
"test": "tsdx test",
"lint": "tsdx lint",
"prepare": "tsdx build"
"prepare": "tsdx build",
"prepack": "npm run build"
},

@@ -40,3 +43,3 @@ "author": {

"nan": "^2.13.2",
"@azure/msal-common": "^1.0.0-beta.4"
"@azure/msal-common": "^1.1.0"
},

@@ -43,0 +46,0 @@ "devDependencies": {

# Microsoft Authentication Extensions for Node
The Microsoft Authentication Extensions for Node offers secure mechanisms for client applications to perform cross-platform token cache serialization and persistence. It gives additional support to the Microsoft Authentication Library for Node (MSAL).
[MSAL Node](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node) supports an in-memory cache by default and provides the ITokenCache interface to perform cache serialization, but does not provide a default way of storing the token cache to disk. Microsoft authentication extensions for node is default implementation for persisting cache to disk across different platforms.
[MSAL Node](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node) supports an in-memory cache by default and provides the ICachePlugin interface to perform cache serialization, but does not provide a default way of storing the token cache to disk. Microsoft authentication extensions for node is default implementation for persisting cache to disk across different platforms.

@@ -10,13 +10,12 @@ Supported platforms are Windows, Mac and Linux:

- MAC - The MAC KeyChain is used.
- Linux - LibSecret is used for encryption.
- Linux - LibSecret is used for storing to "Secret Service".
> Note: It is recommended to use this library for cache persistence support for Public client applications such as Desktop apps only. In web applications, this may lead to scale and performance issues. Web applications are recommended to persist the cache in session.
## Building
The extensions contain prebuild binaries. To build from source, you will need Python on you path,
as [node-gyp](https://github.com/nodejs/node-gyp) is used to build addons for accessing system APIs.
The extensions contain prebuild binaries.
[node-gyp](https://github.com/nodejs/node-gyp) is used to compile addons for accessing system APIs. Installation requirements are listed on the [node-gyp README](https://github.com/nodejs/node-gyp#installation)
On linux, the library uses `libsecret` so you may need to install it.Depending on your distribution, you will need to run the following command:
On linux, the library uses `libsecret` so you may need to install it. Depending on your distribution, you will need to run the following command:

@@ -28,4 +27,3 @@ - Debian/Ubuntu: `sudo apt-get install libsecret-1-dev`

To build msal-node-extensions:
- Navigate to `lib/msal-common` and run `npm run build` then `npm link`
- Navigate to `extensions` and run `npm link @azure/msal-common`
- Navigate to `extensions/msal-node-extensions`
- Run `npm install`

@@ -32,0 +30,0 @@ - Run `npm run build`

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ export { PersistenceCachePlugin } from "./persistence/PersistenceCachePlugin"

@@ -0,0 +0,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

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