IdentityInterface.php 193 B

123456789
  1. <?php
  2. namespace Src\Auth;
  3. interface IdentityInterface {
  4. public function findIdentity(int $id);
  5. public function getId(): int;
  6. public function attemptIdentity(array $credentials);
  7. }