OAuthAuthenticator constructor

OAuthAuthenticator(
  1. String? identifier,
  2. String? clientId,
  3. String? clientSecret,
  4. String? tokenUrl,
  5. String? baseUrl,
  6. String? redirectUrl, [
  7. List<String>? scopes,
  8. bool? usePkce = false,
])

Implementation

OAuthAuthenticator(String? identifier, String? clientId, this.clientSecret,
    this.tokenUrl, String? baseUrl, String? redirectUrl,
    [List<String>? scopes, this.usePkce = false]) {
  this.clientId = clientId;
  this.baseUrl = baseUrl;
  this.redirectUrl = redirectUrl;
  this.identifier = identifier;
  this.scope = scopes ?? <String>[];
}