Files
kiri-core/http-handler/AuthIdentity.php
T

26 lines
287 B
PHP
Raw Normal View History

2020-08-31 01:27:08 +08:00
<?php
2020-10-29 18:17:25 +08:00
declare(strict_types=1);
2020-08-31 01:27:08 +08:00
2021-09-18 16:54:39 +08:00
namespace Http\Handler;
2020-08-31 01:27:08 +08:00
/**
* Interface AuthIdentity
2021-08-11 01:04:57 +08:00
* @package Kiri\Kiri\Http
2020-08-31 01:27:08 +08:00
*/
interface AuthIdentity
{
public function getIdentity();
2021-02-08 17:03:37 +08:00
/**
* @return string|int
* 获取唯一识别码
*/
public function getUniqueId(): string|int;
2020-08-31 01:27:08 +08:00
}