angel_auth 2.0.0
angel_auth: ^2.0.0 copied to clipboard
A complete authentication plugin for Angel.
2.0.0 #
- Made
AuthStrategygeneric. AngelAuth.strategiesis now aMap<String, AuthStrategy<User>>.- Removed
AuthStrategy.canLogout. - Made
AngelAuthTokenCallbackgeneric.
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 ofrequireAuthentication. - Allow configuring of the
userKey. - Deprecate
middlewareName.
1.1.1+6 #
- Fix a small logic bug that prevented
LocalAuthStrategyfrom correctly propagating the authenticated user when usingBasicauth.
1.1.1+5 #
- Prevent duplication of cookies.
- Regenerate the JWT if
tokenCallbackis called.
1.1.1+4 #
- Patched
logoutto properly erase cookies - Fixed checking of expired tokens.
1.1.1+3 #
authenticatereturns the current user, if one is present.
1.1.1+2 #
_applynow always sends atokencookie.
1.1.1+1 #
- Update
protectCookieto only sendmaxAgewhen it is not-1.
1.1.1 #
- Added
protectCookie, to better protect data sent in cookies.
1.1.0+2 #
LocalAuthStrategyreturnstrueonBasicauthentication.
1.1.0+1 #
- Modified
LocalAuthStrategy's handling ofBasicauthentication.