- Fix error in popup page.
- Modify
_apply
to honor an existingUser
overFuture<User>
.
- Deprecate
decodeJwt
, in favor of asynchronous injections.
- Use
await
on redirects, etc.
- Change empty cookie string to have double quotes (thanks @korsvanloon).
- Added
scopes
toExternalAuthOptions
.
- Added
ExternalAuthOptions
.
successRedirect
was previously explicitly returning a200
; remove this and allow the default302
.
- Updates for streaming parse of request bodies.
- Handle
null
return inauthenticate
+failureRedirect
.
- Add generic parameter to
options
onAuthStrategy.authenticate
.
- Meta update to improve Pub score.
- Made
AuthStrategy
generic. AngelAuth.strategies
is now aMap<String, AuthStrategy<User>>
.- Removed
AuthStrategy.canLogout
. - Made
AngelAuthTokenCallback
generic.
- Depend on Dart 2 and Angel 2.
- Remove
dart2_constant
. - Remove
requireAuth
. - Remove
userKey
, instead favoring generic parameters.
- Deprecate
requireAuth
, in favor ofrequireAuthentication
. - Allow configuring of the
userKey
. - Deprecate
middlewareName
.
- Fix a small logic bug that prevented
LocalAuthStrategy
from correctly propagating the authenticated user when usingBasic
auth.
- Prevent duplication of cookies.
- Regenerate the JWT if
tokenCallback
is called.
- Patched
logout
to properly erase cookies - Fixed checking of expired tokens.
authenticate
returns the current user, if one is present.
_apply
now always sends atoken
cookie.
- Update
protectCookie
to only sendmaxAge
when it is not-1
.
- Added
protectCookie
, to better protect data sent in cookies.
LocalAuthStrategy
returnstrue
onBasic
authentication.
- Modified
LocalAuthStrategy
's handling ofBasic
authentication.