adal-node-null-cache
v1.0.0
Published
Windows Azure Active Directory Authentication with a Null Cache
Downloads
7
Readme
adal-node-null-cache
Windows Azure Active Directory Authentication with a Null Cache
Installation
npm install --save adal-node adal-node-null-cache
Usage
var NullCache = require('adal-node-null-cache').NullCache;
var adal = require('adal-node');
var context = new adal.AuthenticationContext(authority, validateAuthority, new NullCache());
This modules uses adal-node
as an optional peer dependency. If adal-node
is
installed and accessible, adal-node-null-cache
will expose all of the methods
of adal-node
, and a createAuthenticationContext
method that uses a
NullCache
instead of a global MemoryCache
.
var adal = require('adal-node-null-cache');
var context = adal.createAuthenticationContext(authority, validateAuthority);
Credits
License
ISC