storeConfig = $storeConfig; } /** * Get maximum allowed authentication failures count before account is locked. * * @return int */ public function getMaxFailuresCount() { return (int)$this->storeConfig->getValue('oauth/authentication_lock/max_failures_count'); } /** * Get period of time in seconds after which account will be unlocked. * * @return int */ public function getLockTimeout() { return (int)$this->storeConfig->getValue('oauth/authentication_lock/timeout'); } }