# Dash Enterprise Auth
Authentication for apps deployed to [Dash Enterprise](https://plotly.com/dash)
Learn more at https://dash.plotly.com/dash-enterprise/app-authentication
<div align="center">
<a href="https://dash.plotly.com/project-maintenance">
<img src="https://dash.plotly.com/assets/images/maintained-by-plotly.png" width="400px" alt="Maintained by Plotly">
</a>
</div>
```py
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()
```
Raw data
{
"_id": null,
"home_page": "https://plotly.com/dash",
"name": "dash-enterprise-auth",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "dash dash-enterprise dash-auth plotly",
"author": "Antoine Roy-Gobeil",
"author_email": "antoine@plotly.com",
"download_url": "https://files.pythonhosted.org/packages/7f/79/3985a3ee556124d033dc7389924fbc8dd15df234fc9cbfc4ac03a60f11f4/dash_enterprise_auth-0.2.4.tar.gz",
"platform": null,
"description": "# Dash Enterprise Auth\n\nAuthentication for apps deployed to [Dash Enterprise](https://plotly.com/dash)\n\nLearn more at https://dash.plotly.com/dash-enterprise/app-authentication\n\n<div align=\"center\">\n <a href=\"https://dash.plotly.com/project-maintenance\">\n <img src=\"https://dash.plotly.com/assets/images/maintained-by-plotly.png\" width=\"400px\" alt=\"Maintained by Plotly\">\n </a>\n</div>\n\n```py\nimport dash_enterprise_auth as auth\n\n@callback(...)\ndef private_data(...):\n username = auth.get_username()\n if username:\n return get_view_for_user(username)\n else:\n return public_view()\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Authentication integrations for apps using Dash Enterprise",
"version": "0.2.4",
"project_urls": {
"Homepage": "https://plotly.com/dash"
},
"split_keywords": [
"dash",
"dash-enterprise",
"dash-auth",
"plotly"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5e1ace6ddff22928b9ea62825ac9582eea2ef2d04b1aedafbbbf013699932083",
"md5": "93f053cd7fd26e063e8d8b065e80af4a",
"sha256": "2073f34f055f62c3bafcdfb89dde6efba5ab331cfb94c5a8092f0cf6d0f24f18"
},
"downloads": -1,
"filename": "dash_enterprise_auth-0.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "93f053cd7fd26e063e8d8b065e80af4a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5262,
"upload_time": "2024-12-05T15:04:38",
"upload_time_iso_8601": "2024-12-05T15:04:38.046709Z",
"url": "https://files.pythonhosted.org/packages/5e/1a/ce6ddff22928b9ea62825ac9582eea2ef2d04b1aedafbbbf013699932083/dash_enterprise_auth-0.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7f793985a3ee556124d033dc7389924fbc8dd15df234fc9cbfc4ac03a60f11f4",
"md5": "dd9047aabcba93817892ce8d5d846fd6",
"sha256": "17ce2112e903e650c53147b72361ac6a02f21d781670955069679b1b564a824a"
},
"downloads": -1,
"filename": "dash_enterprise_auth-0.2.4.tar.gz",
"has_sig": false,
"md5_digest": "dd9047aabcba93817892ce8d5d846fd6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5832,
"upload_time": "2024-12-05T15:04:39",
"upload_time_iso_8601": "2024-12-05T15:04:39.862214Z",
"url": "https://files.pythonhosted.org/packages/7f/79/3985a3ee556124d033dc7389924fbc8dd15df234fc9cbfc4ac03a60f11f4/dash_enterprise_auth-0.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-05 15:04:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dash-enterprise-auth"
}