kampfcaspar / jwt-webtoken
JWT PHP抽象化到web-token
v0.3.0
2023-11-10 22:29 UTC
Requires
- php: ^8.1
- ext-json: *
- kampfcaspar/jwt: ^0.3.0
- psr/log: ^3.0.0
- web-token/jwt-checker: ^3.2
- web-token/jwt-core: ^3.2
- web-token/jwt-encryption: ^3.2
- web-token/jwt-nested-token: ^3.2
- web-token/jwt-signature: ^3.2
Requires (Dev)
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^10.0
- struggle-for-php/sfp-phpstan-psr-log: ^0.17
- web-token/jwt-encryption-algorithm-aescbc: ^3.2
- web-token/jwt-encryption-algorithm-aesgcm: ^3.2
- web-token/jwt-encryption-algorithm-aesgcmkw: ^3.2
- web-token/jwt-encryption-algorithm-aeskw: ^3.2
- web-token/jwt-encryption-algorithm-dir: ^3.2
- web-token/jwt-encryption-algorithm-ecdh-es: ^3.2
- web-token/jwt-encryption-algorithm-experimental: ^3.2
- web-token/jwt-encryption-algorithm-pbes2: ^3.2
- web-token/jwt-encryption-algorithm-rsa: ^3.2
- web-token/jwt-key-mgmt: ^3.2
- web-token/jwt-signature-algorithm-ecdsa: ^3.2
- web-token/jwt-signature-algorithm-eddsa: ^3.2
- web-token/jwt-signature-algorithm-experimental: ^3.2
- web-token/jwt-signature-algorithm-hmac: ^3.2
- web-token/jwt-signature-algorithm-none: ^3.2
- web-token/jwt-signature-algorithm-rsa: ^3.2
This package is auto-updated.
Last update: 2024-09-11 00:12:38 UTC
README
我经常需要让一个程序只需调用一个对象来编码/解码有效载荷,而不必担心密钥、算法等。
'编码器'对象可以预先准备,然后提供给只需要调用解码/编码的消费者。
这是使用web-token库实现的JWS、JWE和嵌套JWT的小型接口的实现。