MiniProgramAuthController constructor

MiniProgramAuthController({
  1. required MiniProgramAuthStore store,
  2. MiniProgramAuthBackendPaths paths = const MiniProgramAuthBackendPaths(),
  3. MiniProgramAuthClock? clock,
})

Implementation

MiniProgramAuthController({
  required MiniProgramAuthStore store,
  this.paths = const MiniProgramAuthBackendPaths(),
  MiniProgramAuthClock? clock,
}) : _store = store,
     _clock = clock ?? (() => DateTime.now().toUtc());