You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to RFC, The processing of the "exp" claim requires that the current date/time MUST be before the expiration date/time listed in the "exp" claim.. So current_time < exp translates into valid token and current_time >= exp into invalid token . In Factory constructor exp validation made with 'exp' => [$this, 'createGreaterOrEqualsTo'] which seems to be correct while In Token class method isExpired implemented as
According to RFC,
The processing of the "exp" claim requires that the current date/time MUST be before the expiration date/time listed in the "exp" claim.
. Socurrent_time < exp
translates into valid token andcurrent_time >= exp
into invalid token . InFactory
constructorexp
validation made with'exp' => [$this, 'createGreaterOrEqualsTo']
which seems to be correct while InToken
class methodisExpired
implemented asDoes this is correct solution and maybe comparison shoud be made as ?
The text was updated successfully, but these errors were encountered: