Add MFA code in prep of new MFA routine

This commit is contained in:
James Cole
2019-08-03 19:19:55 +02:00
parent 0b8427f881
commit b0bd35503f
4 changed files with 37 additions and 3 deletions

View File

@@ -39,6 +39,14 @@ interface UserRepositoryInterface
*/
public function all(): Collection;
/**
* Set MFA code.
*
* @param User $user
* @param string $code
*/
public function setMFACode(User $user, string $code): void;
/**
* Gives a user a role.
*