drashland / drash

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
https://drash.land/drash
GNU General Public License v3.0
1.08k stars 32 forks source link

Add SessionService #558

Open ebebbington opened 4 years ago

ebebbington commented 4 years ago

Develop session middleware, using http://expressjs.com/en/resources/middleware/cookie-session.html as inspiration

Acceptance Criteria

Taking on this issue? Read this before you get started.

If you take on this issue and the acceptance criteria does not make sense, post comments on this issue with your questions. Also, you can always hop in the Discord channel at https://discord.gg/c5R3sYuR to get help quickly.

Please read the Contributing Guidelines before starting this issue.

crookse commented 4 years ago

@devYusuf, just tagging you here so you can follow

ebebbington commented 4 years ago

Updated the description. I guess users can always use this middleware with their database/redis

ebebbington commented 4 years ago

maybe we can work things like laravels loginAs and Auth::user() into this? would require all db drivers as ependencies though - or maybe even a separate middleware

crookse commented 3 years ago

i havent made any progress on this. putting it back in to do