Skip to content

Support for spec-defined / common validators #87

@kathrindc

Description

@kathrindc

Hello there!

I am currently using this library in a project and was looking to validate standard claims (eg. exp, nbf, iss, etc.) while handling tokens. Other libraries provide validators for common claims, as is recommended (but not required) by the implementor's guide.

Are there any plans to extend the verify functions with support for claims validation? I am aware that in the docs for Paseto.V2.verify/3 and Paseto.V1.verify/3 explicitly state that they only check the token's signature, but it might be worth considering claim verification an integral part of "verifying" a token.

I'd be glad to open up a PR for it, if this is indeed something that you would consider merging into the library.

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