Skip to content
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
Open
@IbrahimTanyalcin

Description

@IbrahimTanyalcin

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions