Skip to content

Make verify return the payload #119

Description

@KaKi87

Describe the problem you'd like to have solved

jws.verify doesn't return the signature's payload.

Describe the ideal solution

jws.verify would return the signature's payload when it is verified, instead of returning a boolean.

Alternatives and current work-arounds

Running jws.verify then jws.decode, but it's not ideal when being used to the jsonwebtoken experience.

Additional context

None


Thanks

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions