Authentication integrations for apps using Dash Enterprise
Project description
Dash Enterprise Auth
Authentication for apps deployed to Dash Enterprise
Learn more at https://dash.plotly.com/dash-enterprise/app-authentication
import dash_enterprise_auth as auth
@callback(...)
def private_data(...):
username = auth.get_username()
if username:
return get_view_for_user(username)
else:
return public_view()
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 dash_enterprise_auth-0.2.3.tar.gz
.
File metadata
- Download URL: dash_enterprise_auth-0.2.3.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78d5a60606b5d813b7a920f06bed4c1bb4f7dd9d405ae9651f743855ab1b062c |
|
MD5 | 478366b9fe7ef7c4b0aaa533d06ebb95 |
|
BLAKE2b-256 | dfce3d7cdf0dfac8fc3214310aee25067df4ee0036c37030b3ecbaf51badca95 |
File details
Details for the file dash_enterprise_auth-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: dash_enterprise_auth-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5dcdeb2a9aaee11b2cbb1decde35f00710a8928c44f7a7e6d592740b48ed428 |
|
MD5 | bced9deb63b5dcafd388f149e9c43192 |
|
BLAKE2b-256 | a6a38d708ccb178e43d711af7ef10619b3118bb91de83f46e21672ec5ac287aa |