Repository navigation
v0.5.0
-
Now supports
lcobucci/jwtv5 in addition to v4. -
Now supports
lcobucci/clockv3 in addition to v2. -
The
authenticatemethod now takes an optional second argument$state, which is returned byverifyin your callback:-public function authenticate(string $email): string +public function authenticate(string $email, string $state = null): string
-
BREAKING: The
verifymethod now returns an object, so that it can also return the original$statefrom the call toauthenticate:-public function verify(string $token): string +public function verify(string $token): VerifyResult