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
2.0.0 (2018-07-19)
------------------
- Work with guillotina 4
[vangheem]
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
2.0.0 (2018-07-19)
------------------
- Work with guillotina 4
[vangheem]
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
File details
Details for the file guillotina_dbusers-2.0.0.tar.gz
.
File metadata
- Download URL: guillotina_dbusers-2.0.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 225e68995c23531f850ae9ca8a64b6c1e5c4cb14ea72804753bb75217042218e |
|
MD5 | 6a9afa58f14cb35b2330eb91bfa9753c |
|
BLAKE2b-256 | ea50a90306334dc1e657c0149d5f34494b1f43a8da471781115336268e32bfef |
File details
Details for the file guillotina_dbusers-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: guillotina_dbusers-2.0.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8cd3cc4de9edfdb36dbf50509f94a0e3c484a3ec846c0ab61f2327e1d52aad3 |
|
MD5 | d7ca2791cc865bd72065546a9bba25d3 |
|
BLAKE2b-256 | 38d67d42e49ca2e65bbb15b709230d6bb9a71fb23df170fd8daeb3319bcdc955 |