AuthClient constructor

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

Implementation

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