Skip to content

Commit

Permalink
fix(ms-adal): add setUserBroker method to plugin wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dallastjames committed Dec 5, 2019
1 parent c9daf6c commit 50c6f54
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/@ionic-native/plugins/ms-adal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,19 @@ export class AuthenticationContext {
return;
}

/**
* Sets flag to use or skip authentication broker.
* By default, the flag value is false and ADAL will not talk to broker.
*
* @param {String} useBroker Flag to use or skip authentication broker
*
* @returns {Promise} Promise either fulfilled or rejected with error
*/
@CordovaInstance({
otherPromise: true
})
setUseBroker(useBroker: boolean): Promise<void> {
return;
}

}

0 comments on commit 50c6f54

Please sign in to comment.