12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- /**
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Integration\Model\Oauth\Token\RequestLog;
- /**
- * OAuth token request log writer interface.
- */
- interface WriterInterface
- {
- /**
- * Reset number of authentication failures for the specified user account.
- *
- * @param string $userName
- * @param int $userType
- * @param return void
- * @return void
- */
- public function resetFailuresCount($userName, $userType);
- /**
- * Increment number of authentication failures for the specified user account.
- *
- * @param string $userName
- * @param int $userType
- * @param return void
- * @return void
- */
- public function incrementFailuresCount($userName, $userType);
- /**
- * Clear expired authentication failure logs.
- *
- * @return void
- */
- public function clearExpiredFailures();
- }
|