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.
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.