Skip to content

v0.5.0

Compare
Choose a tag to compare
@stephank stephank released this 29 Nov 18:46
· 6 commits to main since this release
d7e9362
  • 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 by verify 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 to authenticate:

    -public function verify(string $token): string
    +public function verify(string $token): VerifyResult