Skip to content

Knowing when a token is invalid #26

@phrfpeixoto

Description

@phrfpeixoto

This lib is very nice and provides good functionality with little code. Thank you for you work @wichert.

On my project I find myself wanting to programatically react to invalid tokens, and I cant (at least not elegantly) because the policy simply logs the error.

I believe the sound behaviour would be to emit a warning, since you already do that on the remember and forget calls.

I've filed PR #25 to implement that. Please consider it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions