Registry / crypto / web-token-jwt-signature-algorithm-none

web-token-jwt-signature-algorithm-none

JSON →
library4.0.0phppackagistunverified

None Signature Algorithm the JWT Framework.

composer require web-token/jwt-signature-algorithm-none
INSTALL
IMPORT
SIG · WEB-TOKEN-JWT-SIGN
W
web-token-jwt-signature-algorithm-none
cryptophpv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

None
use Jose\Component\Signature\Algorithm\None;

Uses the None signature algorithm for JWT.

use Jose\Component\Signature\Algorithm\None; $algorithm = new None(); $result = $algorithm->sign('payload', 'key');
Debug
Known issues
gotchaThe 'none' algorithm should only be used for testing or when security is not a concern.
fix
Avoid using 'none' in production; use a secure algorithm like HS256 or RS256.
affects: >=0.0.0
Upgrade
Version history
4.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
Resources
web-token-jwt-signature-algorithm-none — pip install web-token-jwt-signature-algorithm-none · libregistry