IsExpired Refactor
TheYkk opened this issue · 0 comments
TheYkk commented
Hi, I strongly disagree of attaching IsExpired
function to branca instance. The general usage of IsExpired
is tied to the token and it should be the sub function of Token struct. So that we don't need to set global ttl for branca instance and we can separately verify the expiration of token