Releases: zohl/servant-auth-cookie
Releases · zohl/servant-auth-cookie
v0.6.0.3
v0.6.0.2
v0.6.0.1
v0.6.0
Added
-
getHeaderSession
function to access session data without denying access to a route (issue #30). -
cookied
function: -
Support for session cookies (issue #35):
ssExpirationType
ofSessionSetting
recordExpirationType
datatype
-
Support for refreshing cookies (issue #37):
ssAutoRenew
ofSessionSetting
record
-
Type synonyms for common boilerplates:
AuthCookieExceptionHandler
AuthCookieHandler
Changed
cookied
function's signature, added argument of typeProxy Session
.addSession*
functions' signatures, added argument ofSessionSettings
type. Usedef
(fromData.Default
) for fallback mode.- Fixed bug with wrong time format in
removeSession*
functions (issue #39). - Refactored internals:
- Format of encoding cookies is different.
Cookie
record is completely changed.WithMetadata
replaced withPayloadWrapper
/ExtendedPayloadWrapper
. Use the latter one in cookie handlers.encryptCookie
/decryptCookie
merged with their session counterparts.
Removed
acsExpirationFormat
field andCannotParseExpirationTime
exception constructor are no longer needed.