guillotina addon to provide users that are stored in the database
Project description
.. contents::
guillotina_dbusers
==================
Store users/groups in the database for guillotina.
Installation
------------
- pip install guillotina_dbusers
- add `guillotina_dbusers` to list of applications in your guillotina configuration
- install into your container using the `@addons` endpoint
Available content types:
- User
- Group
Usage
-----
After installation, you will now have a `users` and `groups` folder inside
your container.
POST /db/container/users {
"@type": "User",
"username": "foobar",
"email": "foo@bar.com",
"password": "foobar"
}
You can now authenticate with the `foobar` user.
Login
-----
Besides using default authentication mechanisms, this package also provides
a `@login` so you can work with jwt tokens.
POST /db/container/@login {
"username": "foobar",
"password": "foobar"
}
And a `@refresh_token` endpoint:
POST /db/container/@refresh_token
1.0.1 (2017-10-08)
------------------
- Fix issues with user definition on latest guillotina
[vangheem]
- Automatically configure
[vangheem]
1.0.0 (2017-04-11)
------------------
- initial move to guillotina
[vangheem]
guillotina_dbusers
==================
Store users/groups in the database for guillotina.
Installation
------------
- pip install guillotina_dbusers
- add `guillotina_dbusers` to list of applications in your guillotina configuration
- install into your container using the `@addons` endpoint
Available content types:
- User
- Group
Usage
-----
After installation, you will now have a `users` and `groups` folder inside
your container.
POST /db/container/users {
"@type": "User",
"username": "foobar",
"email": "foo@bar.com",
"password": "foobar"
}
You can now authenticate with the `foobar` user.
Login
-----
Besides using default authentication mechanisms, this package also provides
a `@login` so you can work with jwt tokens.
POST /db/container/@login {
"username": "foobar",
"password": "foobar"
}
And a `@refresh_token` endpoint:
POST /db/container/@refresh_token
1.0.1 (2017-10-08)
------------------
- Fix issues with user definition on latest guillotina
[vangheem]
- Automatically configure
[vangheem]
1.0.0 (2017-04-11)
------------------
- initial move to guillotina
[vangheem]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for guillotina_dbusers-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81cd3cf124d7edd043e43180b0b2d8664ccb8cabf94d2becd96bfa47e5920245 |
|
MD5 | 151799cbede64b4377b977d047a84b5d |
|
BLAKE2b-256 | ef62d5c33817b2058f0a57619e6b973b33be82df2b3a28c35096f3a93cf417db |