AuthClient constructor

AuthClient({
  1. required String scheme,
  2. required AuthFunction authFunction,
  3. Identity? identity,
  4. String path = "",
  5. SignIdentity? key,
  6. DelegationChain? chain,
  7. Uri? authUri,
})

Implementation

AuthClient({
  required this.scheme,
  required this.authFunction,
  this.identity,
  this.path = "",
  this.key,
  this.chain,
  this.authUri,
}) {
  identity ??= AnonymousIdentity();
}