Skip to main content

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]


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guillotina_dbusers-1.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

guillotina_dbusers-1.0.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file guillotina_dbusers-1.0.1.tar.gz.

File metadata

File hashes

Hashes for guillotina_dbusers-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4f6a57bca4d7c09a861c88719e5ac517b77e7c514b52339cd75e61108debe23b
MD5 cedf3d1223d73c647905197290e13d21
BLAKE2b-256 9007f932b5b9e2f8e3f49bf6c057b5f121d2263718609b0e890ee18a76d51d3b

See more details on using hashes here.

File details

Details for the file guillotina_dbusers-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for guillotina_dbusers-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81cd3cf124d7edd043e43180b0b2d8664ccb8cabf94d2becd96bfa47e5920245
MD5 151799cbede64b4377b977d047a84b5d
BLAKE2b-256 ef62d5c33817b2058f0a57619e6b973b33be82df2b3a28c35096f3a93cf417db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page