There is a Database Authenticator. This should login a user against the user table and generate a token to use in future subrequests (for example php->metadata).
I have the various database tables required to properly manage users
repository types: so credentials can be targetting at particular repositories (a user could have the same login details for npm, php)
package groups: so users can be given access to different groups of packages depending on their status: [public, sales, marketing, user@email.com] could all be valid groups
users: the actual credentials for this user
user package groups: associating a user with a package group gives them access to the packages inside that group
tokens: when a user logs in, a token is returned which is used for checking validatity of a user login
I don't have the service to write the tokens, I'm going to split that into a separate task
There is a Database Authenticator. This should login a user against the user table and generate a token to use in future subrequests (for example php->metadata).
I need to create the following: