ReaderInterface.php 490 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Integration\Model\Oauth\Token\RequestLog;
  8. /**
  9. * OAuth token request log reader interface.
  10. */
  11. interface ReaderInterface
  12. {
  13. /**
  14. * Get number of authentication failures for the specified user account.
  15. *
  16. * @param string $userName
  17. * @param int $userType
  18. * @return int
  19. */
  20. public function getFailuresCount($userName, $userType);
  21. }