OAuthConfiguration constructor

const OAuthConfiguration({
  1. required String authorizationEndpointUrl,
  2. required String tokenEndpointUrl,
  3. required String redirectUrl,
  4. String? baseUrl,
  5. required String clientId,
  6. String? clientSecret,
  7. String? delimiter,
  8. bool? basicAuth,
  9. Client? httpClient,
  10. List<String>? scopes,
  11. String? loginHint,
  12. List<String>? promptValues,
  13. ValueChanged<Credentials>? onSuccessAuth,
  14. ValueChanged? onError,
  15. VoidCallback? onCancel,
  16. CertificateValidator? onCertificateValidate,
  17. Map<String, String>? headers,
  18. Stream<String>? urlStream,
  19. ThemeData? themeData,
  20. Map<String, String>? textLocales,
  21. Locale? contentLocale,
  22. bool? goBackBtnVisible,
  23. bool? goForwardBtnVisible,
  24. bool? refreshBtnVisible,
  25. bool? clearCacheBtnVisible,
  26. 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 [],
      );