baiming/apis_frame

There is no license information available for the latest version (dev-master) of this package.

api框架初始化系统

dev-master 2022-05-19 06:57 UTC

This package is auto-updated.

Last update: 2025-02-19 12:56:43 UTC


README

JWT Token

【目前加密模式仅支持:HS256】

配置文件:

调用:
生成加密:

$token = Jwt::sign($user)
ps:$user 为用户对象

验证加密

$result = Jwt::check($token)

Jwt