Releases: jasny/auth
Releases · jasny/auth
v2.2.0 - JWT v4 and TokenConfirmation
v2.1.0 - Hashids salt fix
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
Update authentication.md [skip ci]
v2.0.0-beta2 - Auth::isLoggedIn()
Auth::user()
throws anAuthException
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
Merge pull request #11 from jasny/v2.x Version 2
v1.0.1 - Middleware protocol version
Set response protocol version in middleware
v1.0.0 - First public release
Auth is no longer a static class.
Ability to use as middleware.