php jwt:JSON Web令牌(JWT)PHP扩展 源码

argument_9681 34 0 ZIP 2021-02-01 22:02:26

PHP扩展 需求 PHP 7以上 PHP json扩展,在加载JWT扩展之前需要json扩展。 OpenSSL(版本> = 1.1.0j)也可以与旧版本一起使用,但是我没有进行检查。 安装 $ git clone https://github.com/cdoco/php-jwt.git $ cd php-jwt $ phpize && ./configure --with-openssl=/path/to/openssl $ make && make install 快速 $ key = "example-hmac-key" ; $ payload = [ "data" => [

用户评论
请输入评论内容
评分:
暂无评论