13 lines
297 B
PHP
13 lines
297 B
PHP
<?php
|
|
namespace Hanyuu\Users;
|
|
|
|
use Index\DateTime;
|
|
use Hanyuu\OTP\TOTPGenerator;
|
|
|
|
interface IUserTOTPInfo {
|
|
public function getUserId(): string;
|
|
public function getSecretKey(): string;
|
|
public function getChangedTime(): DateTime;
|
|
public function createGenerator(): TOTPGenerator;
|
|
}
|