dansup / hub

An open graph inspired API and website for Hyperboria.
MIT License
18 stars 5 forks source link

Finish Node/User Authentication #23

Closed dansup closed 9 years ago

dansup commented 9 years ago

Hub auth/sessions are a bit diferent than typical implementations.

First off, their are two authentication sources Nodes and Users. Node auth only has one state, logged in. If you are browsing hub, your nodes session is determined by your ipv6 address (unless active user session). A node cannot logout, change its primarykey or delete itself, just associated info.

That leaves the User auth, which is an optional feature for people with more than one node to associate multiple nodes, and use a specific node identity from any node.

I am almost done implementing User auth.