This repository was archived by the owner on Jan 3, 2024. It is now read-only.
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
Documentation suggestion #40
Open
Description
Great library, just a small dipnote, in the encrypt decrypt section you briefly give an example:
$jwt_string = 'eyJ...';
$jwe = JOSE_JWT::decode($jwt_string);
$jwe->decrypt($private_key);
Once I inspect the object with var_dump after calling decrypt, I could see that the real payload is inside "plain_text" key, like this:
echo "$jwe->plain_text;
It would be great if you could add that to the documentation.
Metadata
Metadata
Assignees
Labels
No labels
Activity