MSALAndroidConfig constructor

MSALAndroidConfig({
  1. required List<Authority> authorities,
  2. bool handleNullTaskAffinity = false,
  3. AuthorizationAgent authorizationUserAgent = AuthorizationAgent.DEFAULT,
  4. String minimumRequiredBrowsersVersion = "3.0",
  5. bool multipleCloudsSupported = false,
  6. bool brokerRedirectUriRegistered = true,
  7. bool webViewZoomControlsEnabled = true,
  8. bool webViewZoomEnabled = true,
  9. bool authorizationInCurrentTask = false,
  10. MsalEnvironment environment = MsalEnvironment.Production,
  11. bool powerOptCheckEnabled = true,
  12. HttpConfiguration http = const HttpConfiguration(),
  13. AndroidLoggerConfiguration logger = const AndroidLoggerConfiguration(),
  14. AndroidAccountMode accountMode = AndroidAccountMode.MULTIPLE,
  15. List<SafeBrowser> browserSafeList = SafeBrowser.defaultSafeBrowsers,
})

Implementation

MSALAndroidConfig({
  required this.authorities,
  this.handleNullTaskAffinity = false,
  this.authorizationUserAgent = AuthorizationAgent.DEFAULT,
  this.minimumRequiredBrowsersVersion = "3.0",
  this.multipleCloudsSupported = false,
  this.brokerRedirectUriRegistered = true,
  this.webViewZoomControlsEnabled = true,
  this.webViewZoomEnabled = true,
  this.authorizationInCurrentTask = false,
  this.environment = MsalEnvironment.Production,
  this.powerOptCheckEnabled = true,
  this.http = const HttpConfiguration(),
  this.logger = const AndroidLoggerConfiguration(),
  this.accountMode = AndroidAccountMode.MULTIPLE,
  this.browserSafeList = SafeBrowser.defaultSafeBrowsers,
});