Skip to content

Releases: jasny/auth

v2.2.0 - JWT v4 and TokenConfirmation

08 Feb 02:20
6b0f951
Compare
Choose a tag to compare

Support Lcobucci JWT v4.
The JWT class now takes the JWT configuration object as parameter instead of different services.

The TokenConfirmation class generated a random token, which must be stored in the database.

v2.1.0 - Hashids salt fix

31 Jan 23:48
9593edc
Compare
Choose a tag to compare

Fix issue with generating a hashids salt. Hashids doesn't accept a binary string as salt, since the salt is converted to a UTF-8 string. In some cases the binary salt was working, but in other cases the mb_detect_encoding() method gave an error.

When updating, please note that confirmation tokens created with v2.0 will not work with v2.1.

v2.0.0 - General release

20 May 01:01
4ea8cf3
Compare
Choose a tag to compare
Update authentication.md

[skip ci]

v2.0.0-beta2 - Auth::isLoggedIn()

27 Dec 11:31
bf34ca7
Compare
Choose a tag to compare
Pre-release
  • Auth::user() throws an AuthException if not logged in.
  • Added method Auth::isLoggedIn().

The user() method always returns a user and never null, as
it typical to use Auth::user()->doSomething() while assuming
a user is logged in due to access control on the page. Having
the method return null is an issue when using static code
analysis.

v2.0.0-beta1

04 Dec 23:46
1a2c537
Compare
Choose a tag to compare
v2.0.0-beta1 Pre-release
Pre-release
Merge pull request #11 from jasny/v2.x

Version 2

v1.0.1 - Middleware protocol version

28 Dec 23:03
05b25f1
Compare
Choose a tag to compare

Set response protocol version in middleware

v1.0.0 - First public release

28 Dec 22:37
c4e4223
Compare
Choose a tag to compare

Auth is no longer a static class.
Ability to use as middleware.