Skip to content

Commit

Permalink
fix(ms-adal): add missing "claims" parameter to "acquireTokenAsync" f…
Browse files Browse the repository at this point in the history
…unction (#3250)

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

* add docs for new claims field
  • Loading branch information
dallastjames authored and danielsogl committed Dec 9, 2019
1 parent bddc221 commit ecd451c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/@ionic-native/plugins/ms-adal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ecd451c

Please sign in to comment.