feat(ms-adal): add authentication settings (#3252)

This commit is contained in:
Dallas James 2019-12-08 22:52:14 -07:00 committed by Daniel Sogl
parent 6f4d23d072
commit 1aa89ae311

View File

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