ibyeyoga/easy-auth

此包最新版本(1.0)没有可用的许可信息。

jwt组件。

1.0 2019-12-13 16:28 UTC

This package is not auto-updated.

Last update: 2024-09-29 14:37:46 UTC


README

一个jwt的简易组件。

如何使用?
composer require ibyeyoga/easy-auth
然后
use IBye\EasyAuth\Auth;

$auth = new Auth();

//getting token
$token = $auth->getToken('hello world');

//parsing token
$info = $auth->parseToken($token);