跳转到主要内容

适用于使用Dash Enterprise的应用程序的认证集成

项目描述

Dash企业认证

针对部署到 Dash企业 的应用程序进行认证

更多信息请访问 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()

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定要选择哪个,请了解有关 安装包 的更多信息。

源代码发行版

dash_enterprise_auth-0.2.2.tar.gz (4.2 kB 查看散列)

上传时间 源代码

构建发行版

dash_enterprise_auth-0.2.2-py3-none-any.whl (4.5 kB 查看散列)

上传时间 Python 3

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面