adal-node
Advanced tools
Comparing version 0.1.24 to 0.1.25
@@ -0,1 +1,6 @@ | ||
Version 0.1.25 | ||
-------------- | ||
Release Date: 06 November 2017 | ||
* Fixed typing: acquireUserCode returns UserCodeInfo in the callback | ||
Version 0.1.24 | ||
@@ -2,0 +7,0 @@ -------------- |
@@ -155,2 +155,10 @@ import * as http from "http"; | ||
/** | ||
* This is the callback that is passed to all acquireUserCode method below. | ||
* @callback AcquireTokenCallback | ||
* @param {Error} [error] If the request fails this parameter will contain an Error object. | ||
* @param {UserCodeInfo} [response] On a succesful request returns a {@link UserCodeInfo}. | ||
*/ | ||
export type AcquireUserCodeCallback = (error: Error, response: UserCodeInfo) => void; | ||
/** | ||
* This is an interface that can be implemented to provide custom token cache persistence. | ||
@@ -329,5 +337,5 @@ * @public | ||
* @param {string} language The language code specifying how the message should be localized to. | ||
* @param {AcquireTokenCallback} callback The callback function. | ||
* @param {AcquireUserCodeCallback} callback The callback function. | ||
*/ | ||
public acquireUserCode(resource: string, clientId: string, language: string, callback: AcquireTokenCallback): void; | ||
public acquireUserCode(resource: string, clientId: string, language: string, callback: AcquireUserCodeCallback): void; | ||
@@ -334,0 +342,0 @@ /** |
{ | ||
"name": "adal-node", | ||
"version": "0.1.23", | ||
"version": "0.1.25", | ||
"lockfileVersion": 1, | ||
@@ -5,0 +5,0 @@ "requires": true, |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"description": "Windows Azure Active Directory Client Library for node", | ||
@@ -16,0 +16,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ # Windows Azure Active Directory Authentication Library (ADAL) for Node.js | ||
## Versions | ||
Current version - 0.1.24 | ||
Current version - 0.1.25 | ||
Minimum recommended version - 0.1.22 | ||
@@ -8,0 +8,0 @@ You can find the changes for each version in the [change log](https://github.com/AzureAD/azure-activedirectory-library-for-nodejs/blob/master/changelog.txt). |
1243256
10226