OAuthConfiguration constructor
const
OAuthConfiguration({
- required String authorizationEndpointUrl,
- required String tokenEndpointUrl,
- required String redirectUrl,
- String? baseUrl,
- required String clientId,
- String? clientSecret,
- String? delimiter,
- bool? basicAuth,
- Client? httpClient,
- List<
String> ? scopes, - String? loginHint,
- List<
String> ? promptValues, - ValueChanged<
Credentials> ? onSuccessAuth, - ValueChanged? onError,
- VoidCallback? onCancel,
- CertificateValidator? onCertificateValidate,
- Map<
String, String> ? headers, - Stream<
String> ? urlStream, - ThemeData? themeData,
- Map<
String, String> ? textLocales, - Locale? contentLocale,
- bool? goBackBtnVisible,
- bool? goForwardBtnVisible,
- bool? refreshBtnVisible,
- bool? clearCacheBtnVisible,
- bool? closeBtnVisible,
Implementation
const OAuthConfiguration({
required this.authorizationEndpointUrl,
required this.tokenEndpointUrl,
required this.redirectUrl,
this.baseUrl,
required this.clientId,
this.clientSecret,
this.delimiter,
this.basicAuth,
this.httpClient,
this.scopes,
this.loginHint,
this.promptValues,
this.onSuccessAuth,
super.onError,
super.onCancel,
super.onCertificateValidate,
super.headers,
super.urlStream,
super.themeData,
super.textLocales,
super.contentLocale,
super.goBackBtnVisible,
super.goForwardBtnVisible,
super.refreshBtnVisible,
super.clearCacheBtnVisible,
super.closeBtnVisible,
}) : super(
initialUrl: '',
redirectUrls: const [],
);