Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Users Schema

Paul Frazee edited this page Dec 31, 2016 · 21 revisions

Layout

  • main
    • township-access: Stores the users' access scopes (rights)
    • township-auth: Stores the authentication credentials. User/pass, etc.
    • township-auth-indexes: indexes for township-auth. For basic auth, provides email->cred lookup
    • township-token: Stores invalidated tokens.
    • settings: Map of email => settings obj.
      • byusername: Index of username => email.

Settings object

Schema:

{
  username: String, the chosen username,
  dat: String, the url of the profile dat
}
Clone this wiki locally