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.
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
rememberandforgetcalls.I've filed PR #25 to implement that. Please consider it.