angel3_auth 8.4.0
angel3_auth: ^8.4.0 copied to clipboard
A complete authentication plugin for Angel3. Includes support for stateless JWT tokens, Basic Auth, and more.
Change Log #
8.4.0 #
- Require Dart >= 3.8
- Updated
lintsto 6.0.0 - Updated dependencies to the latest release
8.3.0 #
- Require Dart >= 3.6
- Updated
lintsto 5.0.0 - Updated dependencies to the latest release
8.2.0 #
- Require Dart >= 3.3
- Updated
lintsto 4.0.0
8.1.1 #
- Updated repository link
8.1.0 #
- Updated
lintsto 3.0.0
8.0.0 #
- Require Dart >= 3.0
- Upgraded
httpto 1.0.0 - Fixed failed
successRedirecttest case - Fixed failed
failureRedirecttest case - Fixed failed
logintest case - Fixed failed
force basictest case - Added
example1andexample2
7.0.1 #
- Fixed linter warnings
7.0.0 #
- Require Dart >= 2.17
6.0.0 #
- Require Dart >= 2.16
5.0.0 #
- Skipped release
4.1.2 #
- Fixed
requireAuthenticationto work correctly with null-safety type
4.1.1 #
- Changed
userIdfield ofAuthTokento String type - Changed
serializerreturn value to String type - Changed
deserializerinput parameter to String type
4.1.0 #
- Updated linter to
package:lints
4.0.5 #
- Added support for verifier function to return an empty Map instead of null
- Fixed
canRespondWithJsonoption to return data in the response body when set to true
4.0.4 #
- Changed
serializeranddeserializerparameters to be required - Fixed HTTP basic authentication
- All 31 unit tests passed
4.0.3 #
- Fixed "failureRedirect" unit test
4.0.2 #
- Added MirrorsReflector to unit test
4.0.1 #
- Updated README
4.0.0 #
- Migrated to support Dart >= 2.12 NNBD
3.0.0 #
- Migrated to work with Dart >= 2.12 Non NNBD
2.1.5+1 #
- Fix error in popup page.
2.1.5 #
- Modify
_applyto honor an existingUseroverFuture<User>.
2.1.4 #
- Deprecate
decodeJwt, in favor of asynchronous injections.
2.1.3 #
- Use
awaiton redirects, etc.
2.1.2 #
- Change empty cookie string to have double quotes (thanks @korsvanloon).
2.1.1 #
- Added
scopestoExternalAuthOptions.
2.1.0 #
- Added
ExternalAuthOptions.
2.0.4 #
successRedirectwas previously explicitly returning a200; remove this and allow the default302.
2.0.3 #
- Updates for streaming parse of request bodies.
2.0.2 #
- Handle
nullreturn inauthenticate+failureRedirect.
2.0.1 #
- Add generic parameter to
optionsonAuthStrategy.authenticate.
2.0.0+1 #
- Meta update to improve Pub score.
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.