DpopVerifier constructor

DpopVerifier({
  1. required DateTime now(),
  2. Duration maxAge = const Duration(seconds: 60),
  3. Duration leeway = const Duration(seconds: 30),
})

Creates the verifier on now; maxAge is auth.dpop_proof_max_age, leeway auth.clock_leeway (08 18).

Implementation

DpopVerifier({
  required this.now,
  this.maxAge = const Duration(seconds: 60),
  this.leeway = const Duration(seconds: 30),
});