rikulo_security 2.5.1
rikulo_security: ^2.5.1 copied to clipboard
A lightweight and highly customizable authentication and access-control framework for Rikulo Stream.
CHANGES #
2.5.1
Security.filterrotates the remember-me cookie on every recall (refreshes Max-Age, closes replay window). Implementers ofRememberMe.saveshould treat each call as a rotation point.SimpleAccessControl.remove(uri)added;addasserts (dev-only) on duplicate patterns.Security.switchLogindartdoc: session-ID rotation fromresetSessioncannot be undone byswitchBack; passresetSession: falseto keep the original ID.Authenticator.logoutreturn type:Future<Map>?→Future<Map?>.- Doc / style cleanup (drop
new,/** */→///, README fixes, typos).
2.0.0
- Migrate to null safety
1.1.2+1
Security.loginrejects if the posted body is over 3000 bytes.
1.1.2
Security.filter,loginandlogoutare instant methods instead of closures.
1.1.1
Security.switchLoginsupports theresetSessionargument
1.1.0
Security.switchLoginandswitchBackadded
1.0.0
- Upgrade to Dart 2
0.8.7
Authenticator.isSessionExpiredintroduced to invalidate a session if necessary
0.8.6
AccessControl.canAcess()returnsFutureOr<bool>onLoginandonLogoutcallbacks returnFutureOr
0.8.3
- Security.setLogin() introduces additional argument: resetSession
0.8.1
- #6:
AccessControl.canAccess()became asynchronous
0.8.0
- #5: Able to pass the original URI as parameter of the login page