Files
kiri-core/HttpServer/IInterface/AuthIdentity.php
T

26 lines
306 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
namespace HttpServer\IInterface;
/**
* Interface AuthIdentity
2020-08-31 12:38:32 +08:00
* @package Snowflake\Snowflake\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
}