authenticate method

bool authenticate(
  1. String password
)

Try to authenticate with a password. Returns true if successful.

Implementation

bool authenticate(String password) {
  // Try empty password first (for owner-password-only protection)
  if (_tryUserPassword('')) return true;
  if (_tryUserPassword(password)) return true;
  if (_tryOwnerPassword(password)) return true;
  return false;
}