Authenticator constructor

Authenticator(
  1. Client client, {
  2. Iterable<String> scopes = const [],
  3. String? device,
  4. String? prompt,
})

Implementation

Authenticator(Client client,
    {Iterable<String> scopes = const [], String? device, String? prompt})
    : this._(Flow.implicit(client,
          device: device,
          state: window.localStorage['openid_client:state'],
          prompt: prompt)
        ..scopes.addAll(scopes)
        ..redirectUri = Uri.parse(window.location.href).removeFragment());