How can I create a simple authentication system in Rust/Iron or Hyper. For myself it’ll be good enough.
That is, I only want to:
write a user_id into a session
check if “user_id” exists in a session a cookie exists before each request
manually remove it when a user logs out
How can I do this?
I’m not asking for an auth. solution which already exists.