zestic / codeception-jwt
jwt令牌断言
v0.2.0
2022-10-20 05:50 UTC
Requires
- php: >=7.4
- codeception/codeception: ^2.1 || ^3.1.3 || ^4.1.22 || ^5.0
This package is auto-updated.
Last update: 2024-09-20 10:22:41 UTC
README
一个用于断言JWT的codeception扩展
安装
composer require zestic/codeception-jwt --dev
配置
在你的acceptance.suite.yml文件中
modules: enabled: - JWT: algorithm: publicKeyPath: privateKeyPath: tokenTtl:
在你的composer.json文件中
{ "repositories": { "zestic/codeception-jwt": { "type": "vcs", "url": "git@gitlab.com:zestic/codeception-jwt.git" }, } }
测试
在测试中使用它