Authenticator constructor

Authenticator(
  1. Client client,
  2. {Iterable<String> scopes: const []}
)

Implementation

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