v0.5.0
-
Now supports
lcobucci/jwt
v5 in addition to v4. -
Now supports
lcobucci/clock
v3 in addition to v2. -
The
authenticate
method now takes an optional second argument$state
, which is returned byverify
in your callback:-public function authenticate(string $email): string +public function authenticate(string $email, string $state = null): string
-
BREAKING: The
verify
method now returns an object, so that it can also return the original$state
from the call toauthenticate
:-public function verify(string $token): string +public function verify(string $token): VerifyResult