2018-09-12 03:16:17 +00:00
|
|
|
# 2.0.1
|
|
|
|
* Add generic parameter to `options` on `AuthStrategy.authenticate`.
|
|
|
|
|
2018-09-12 00:51:59 +00:00
|
|
|
# 2.0.0+1
|
|
|
|
* Meta update to improve Pub score.
|
|
|
|
|
2018-09-11 22:11:44 +00:00
|
|
|
# 2.0.0
|
2018-09-11 22:03:35 +00:00
|
|
|
* Made `AuthStrategy` generic.
|
|
|
|
* `AngelAuth.strategies` is now a `Map<String, AuthStrategy<User>>`.
|
|
|
|
* Removed `AuthStrategy.canLogout`.
|
2018-09-11 22:11:44 +00:00
|
|
|
* Made `AngelAuthTokenCallback` generic.
|
2018-09-11 22:03:35 +00:00
|
|
|
|
2018-08-26 23:11:37 +00:00
|
|
|
# 2.0.0-alpha
|
|
|
|
* Depend on Dart 2 and Angel 2.
|
|
|
|
* Remove `dart2_constant`.
|
|
|
|
* Remove `requireAuth`.
|
|
|
|
* Remove `userKey`, instead favoring generic parameters.
|
|
|
|
|
2018-07-12 17:11:54 +00:00
|
|
|
# 1.2.0
|
|
|
|
* Deprecate `requireAuth`, in favor of `requireAuthentication`.
|
|
|
|
* Allow configuring of the `userKey`.
|
|
|
|
* Deprecate `middlewareName`.
|
|
|
|
|
2018-07-10 23:31:50 +00:00
|
|
|
# 1.1.1+6
|
|
|
|
* Fix a small logic bug that prevented `LocalAuthStrategy`
|
|
|
|
from correctly propagating the authenticated user when
|
|
|
|
using `Basic` auth.
|
|
|
|
|
2018-06-27 18:10:56 +00:00
|
|
|
# 1.1.1+5
|
|
|
|
* Prevent duplication of cookies.
|
|
|
|
* Regenerate the JWT if `tokenCallback` is called.
|
|
|
|
|
2018-06-27 17:43:46 +00:00
|
|
|
# 1.1.1+4
|
|
|
|
* Patched `logout` to properly erase cookies
|
|
|
|
* Fixed checking of expired tokens.
|
|
|
|
|
2018-06-27 17:17:44 +00:00
|
|
|
# 1.1.1+3
|
|
|
|
* `authenticate` returns the current user, if one is present.
|
|
|
|
|
2018-06-27 16:59:40 +00:00
|
|
|
# 1.1.1+2
|
|
|
|
* `_apply` now always sends a `token` cookie.
|
|
|
|
|
2018-06-27 16:42:43 +00:00
|
|
|
# 1.1.1+1
|
|
|
|
* Update `protectCookie` to only send `maxAge` when it is not `-1`.
|
|
|
|
|
2018-06-27 16:36:31 +00:00
|
|
|
# 1.1.1
|
|
|
|
* Added `protectCookie`, to better protect data sent in cookies.
|
|
|
|
|
2017-12-21 09:12:52 +00:00
|
|
|
# 1.1.0+2
|
|
|
|
* `LocalAuthStrategy` returns `true` on `Basic` authentication.
|
|
|
|
|
2017-12-21 06:32:16 +00:00
|
|
|
# 1.1.0+1
|
|
|
|
* Modified `LocalAuthStrategy`'s handling of `Basic` authentication.
|