GuardoConfig constructor

const GuardoConfig({
  1. String localizedReason = 'Please authenticate to access the app',
  2. bool biometricOnly = true,
  3. bool stickyAuth = true,
  4. Duration? lockTimeout,
  5. bool autoCheckOnStart = true,
  6. AuthenticationOptions authenticationOptions = const AuthenticationOptions(biometricOnly: true, stickyAuth: true),
})

Implementation

const GuardoConfig({
  this.localizedReason = 'Please authenticate to access the app',
  this.biometricOnly = true,
  this.stickyAuth = true,
  this.lockTimeout,
  this.autoCheckOnStart = true,
  this.authenticationOptions = const AuthenticationOptions(
    biometricOnly: true,
    stickyAuth: true,
  ),
});