platform/packages/auth/CHANGELOG.md
Tobe O e887b1d21f Add 'packages/auth/' from commit '1274ad6b0d9c288ab5366e8f3f977e50418166af'
git-subtree-dir: packages/auth
git-subtree-mainline: 6890bbf53f
git-subtree-split: 1274ad6b0d
2020-02-15 18:28:27 -05:00

83 lines
2 KiB
Markdown

# 2.1.5+1
* Fix error in popup page.
# 2.1.5
* Modify `_apply` to honor an existing `User` over `Future<User>`.
# 2.1.4
* Deprecate `decodeJwt`, in favor of asynchronous injections.
# 2.1.3
* Use `await` on redirects, etc.
# 2.1.2
* Change empty cookie string to have double quotes (thanks @korsvanloon).
# 2.1.1
* Added `scopes` to `ExternalAuthOptions`.
# 2.1.0
* Added `ExternalAuthOptions`.
# 2.0.4
* `successRedirect` was previously explicitly returning a `200`; remove this and allow the default `302`.
# 2.0.3
* Updates for streaming parse of request bodies.
# 2.0.2
* Handle `null` return in `authenticate` + `failureRedirect`.
# 2.0.1
* Add generic parameter to `options` on `AuthStrategy.authenticate`.
# 2.0.0+1
* Meta update to improve Pub score.
# 2.0.0
* Made `AuthStrategy` generic.
* `AngelAuth.strategies` is now a `Map<String, AuthStrategy<User>>`.
* Removed `AuthStrategy.canLogout`.
* Made `AngelAuthTokenCallback` generic.
# 2.0.0-alpha
* Depend on Dart 2 and Angel 2.
* Remove `dart2_constant`.
* Remove `requireAuth`.
* Remove `userKey`, instead favoring generic parameters.
# 1.2.0
* Deprecate `requireAuth`, in favor of `requireAuthentication`.
* Allow configuring of the `userKey`.
* Deprecate `middlewareName`.
# 1.1.1+6
* Fix a small logic bug that prevented `LocalAuthStrategy`
from correctly propagating the authenticated user when
using `Basic` auth.
# 1.1.1+5
* Prevent duplication of cookies.
* Regenerate the JWT if `tokenCallback` is called.
# 1.1.1+4
* Patched `logout` to properly erase cookies
* Fixed checking of expired tokens.
# 1.1.1+3
* `authenticate` returns the current user, if one is present.
# 1.1.1+2
* `_apply` now always sends a `token` cookie.
# 1.1.1+1
* Update `protectCookie` to only send `maxAge` when it is not `-1`.
# 1.1.1
* Added `protectCookie`, to better protect data sent in cookies.
# 1.1.0+2
* `LocalAuthStrategy` returns `true` on `Basic` authentication.
# 1.1.0+1
* Modified `LocalAuthStrategy`'s handling of `Basic` authentication.