Fynd Centralized auth system.
Project description
Fynd Alohomora Package
======================
A python package for Fynd Alohomora connector.
This package is only for django framework.
Fynd alohomora is the centralized Authentication system for several applications of Fynd.
Usage
=====
**Import the module
from alohomora import check_if_authenticated
** Use it as a decorator
check_if_authenticated(state='some_state', permission='some_permission')
def some_method()
"""
Your code
"""
return something
SETTINGS
========
**Settings can be overridden.
ALOHOMORA_REDIS_HOST: IP of the alohomora redis host.
ALOHOMORA_REDIS_PORT: PORT of the alohomora redis host.
ALOHOMORA_REDIS_DB: DB of the alohomora redis host.
IS_AUTH_ENABLED: TO enable or disable alohomora auth system.
======================
A python package for Fynd Alohomora connector.
This package is only for django framework.
Fynd alohomora is the centralized Authentication system for several applications of Fynd.
Usage
=====
**Import the module
from alohomora import check_if_authenticated
** Use it as a decorator
check_if_authenticated(state='some_state', permission='some_permission')
def some_method()
"""
Your code
"""
return something
SETTINGS
========
**Settings can be overridden.
ALOHOMORA_REDIS_HOST: IP of the alohomora redis host.
ALOHOMORA_REDIS_PORT: PORT of the alohomora redis host.
ALOHOMORA_REDIS_DB: DB of the alohomora redis host.
IS_AUTH_ENABLED: TO enable or disable alohomora auth system.
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
File details
Details for the file fynd-django-alohomora-1.0.0.tar.gz
.
File metadata
- Download URL: fynd-django-alohomora-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64fc28a840ab29b6a0f7c90ca7585dea3a9bd92c335ab11dd1ff8ab532e29082 |
|
MD5 | f658b11bdc821f71053643e88bbdca3d |
|
BLAKE2b-256 | 29896c14daa46799b07f31457fcda825308dff786157a3fbe2988e78faa16e34 |