fix(ms-adal): add missing "claims" parameter to "acquireTokenAsync" function (#3250)

* fix(ms-adal): add missing claims parameter

* add docs for new claims field
This commit is contained in:
Dallas James 2019-12-08 22:50:41 -07:00 committed by Daniel Sogl
parent bddc221b60
commit ecd451ceb3

View File

@ -138,12 +138,13 @@ export class AuthenticationContext {
* @param {String} extraQueryParameters
* Extra query parameters (optional)
* Parameters should be escaped before passing to this method (e.g. using 'encodeURI()')
* @param {String} claims Claim parameter. Parameter should be used under conditional access scenarios (optional)
* @returns {Promise} Promise either fulfilled with AuthenticationResult object or rejected with error
*/
@CordovaInstance({
otherPromise: true
})
acquireTokenAsync(resourceUrl: string, clientId: string, redirectUrl: string, userId?: string, extraQueryParameters?: any): Promise<AuthenticationResult> {
acquireTokenAsync(resourceUrl: string, clientId: string, redirectUrl: string, userId?: string, extraQueryParameters?: any, claims?: string): Promise<AuthenticationResult> {
return;
}