MSALPublicClientApplicationConfig constructor

MSALPublicClientApplicationConfig({
  1. required String clientId,
  2. String? androidRedirectUri,
  3. String? iosRedirectUri,
  4. Uri? authority,
  5. bool bypassRedirectURIValidation = false,
  6. List<String>? clientApplicationCapabilities,
  7. bool extendedLifetimeEnabled = false,
  8. List<Uri>? knownAuthorities,
  9. MSALCacheConfig? cacheConfig,
  10. bool multipleCloudsSupported = false,
  11. MSALSliceConfig? sliceConfig,
  12. double? tokenExpirationBuffer,
  13. MSALAndroidConfig? androidConfig,
})

Implementation

MSALPublicClientApplicationConfig({
  required this.clientId,
  String? androidRedirectUri,
  String? iosRedirectUri,
  this.authority,
  this.bypassRedirectURIValidation = false,
  this.clientApplicationCapabilities,
  this.extendedLifetimeEnabled = false,
  this.knownAuthorities,
  this.cacheConfig,
  this.multipleCloudsSupported = false,
  this.sliceConfig,
  this.tokenExpirationBuffer,
  this.androidConfig,
}){
  if (Platform.isAndroid) {
    redirectUri = androidRedirectUri;
  } else {
    redirectUri = iosRedirectUri;
  }
}