From 1aa89ae31110e595de070f19c21ce11899891979 Mon Sep 17 00:00:00 2001
From: Dallas James <dallastjames@gmail.com>
Date: Sun, 8 Dec 2019 22:52:14 -0700
Subject: [PATCH] feat(ms-adal): add authentication settings (#3252)

---
 src/@ionic-native/plugins/ms-adal/index.ts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/src/@ionic-native/plugins/ms-adal/index.ts b/src/@ionic-native/plugins/ms-adal/index.ts
index 5aeb8be6..f35bce88 100644
--- a/src/@ionic-native/plugins/ms-adal/index.ts
+++ b/src/@ionic-native/plugins/ms-adal/index.ts
@@ -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;
+  }
+}