Authenticator constructor

Authenticator(
  1. Client client, {
  2. dynamic urlLauncher(
    1. String
    )?,
  3. Iterable<String> scopes = const [],
  4. Uri? redirectUri,
})

Creates a authenticator object

redirectUri should be the uri the Auth Provider redirected to. It is currently not possible to set a custom redirect Url for the authentication process itself

Implementation

Authenticator(
  Client client, {
  Function(String)? urlLauncher,
  Iterable<String> scopes = const [],
  Uri? redirectUri,
}) : _authenticator = _CustomAuthenticator(
        client,
        scopes: scopes,
        redirectedUri: redirectUri.toString(),
      );