MSALPublicClientApplicationConfig constructor
MSALPublicClientApplicationConfig({
- required String clientId,
- String? androidRedirectUri,
- String? iosRedirectUri,
- Uri? authority,
- bool bypassRedirectURIValidation = false,
- List<
String> ? clientApplicationCapabilities, - bool extendedLifetimeEnabled = false,
- List<
Uri> ? knownAuthorities, - MSALCacheConfig? cacheConfig,
- bool multipleCloudsSupported = false,
- MSALSliceConfig? sliceConfig,
- double? tokenExpirationBuffer,
- 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;
}
}