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 using `dbusers` as id.

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.2 (2018-09-25)
------------------

- Remove login endpoint because guillotina already offers it
[bloodbare]


2.0.1 (2018-07-19)
------------------

- Support both `username` and `login` as parameter for the `@login` endpoint
[ebrehault]


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


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-2.0.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

guillotina_dbusers-2.0.2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: guillotina_dbusers-2.0.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for guillotina_dbusers-2.0.2.tar.gz
Algorithm Hash digest
SHA256 20fc92126a203c705eef45c5862b416dfaabf87527d13b556919b469a50516fa
MD5 ddbba6ac2164ade0be322855bef5395b
BLAKE2b-256 61f13a0195069400bddf45206ff7a70780b827c865f5c35235b82e54d697318f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: guillotina_dbusers-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for guillotina_dbusers-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58cb6304f0602f505b18e117a89555996968d3fef4cd29278902e1921f68afbb
MD5 baedb5bc2a75e1ae810a87eb76595c1c
BLAKE2b-256 843732b01ef6cb13b587d91d04cd83a832ea45eb42e94ebe0037ccac2175e6ff

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