MiniProgramAuthController.secure constructor

MiniProgramAuthController.secure({
  1. MiniProgramAuthBackendPaths paths = const MiniProgramAuthBackendPaths(),
  2. FlutterSecureStorage? storage,
  3. MiniProgramAuthClock? clock,
})

Implementation

factory MiniProgramAuthController.secure({
  MiniProgramAuthBackendPaths paths = const MiniProgramAuthBackendPaths(),
  FlutterSecureStorage? storage,
  MiniProgramAuthClock? clock,
}) {
  return MiniProgramAuthController(
    store: SecureMiniProgramAuthStore(storage: storage),
    paths: paths,
    clock: clock,
  );
}