---
schema_version: "1"
id: 8ef6f20613f7a856e9304b780198b08a44646b8fc76736edfbdf3d48f6f46519
title: 禁用自动客户端身份验证
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server/devices_connected_credentials.md
canonical_url: https://help.tableau.com/current/server/zh-cn/devices_connected_credentials.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 003bb9949bb50b134a37a9844bd2928bb29c4dd9c44a0764713f1e3c2e92b0c2
description: Disable automatic client authentication so connected clients and PATs must sign in again.
---
[跳转到主要内容](#main-content)

# 禁用自动客户端身份验证

在 Tableau 连接的客户端（例如，Tableau Desktop、Tableau Mobile、Tableau Prep Builde r 等）和个人访问令牌 (PAT) 成功登录到 Tableau Server 后，系统会在将来对它们自动进行身份验证。连接的客户端会话和 PAT 均通过 刷新令牌管理。

默认情况下， 刷新令牌会在一年后重置。如果刷新令牌在 14 天内未使用，则它将过期。作为服务器管理员，您可通过设置 `refresh_token.absolute_expiry_in_seconds` 和 `refresh_token.idle_expiry_in_seconds` 选项来更改这些值。请参见 [tsm configuration set 选项](https://help.tableau.com/current/server/zh-cn/cli_configuration-set_tsm.htm)。

Tableau Server 管理员也可以为连接的客户端禁用 自动身份验证。在这种情况下，会话到期完全受 Tableau Server 会话行为控制，该行为管理 Web 制作会话。请参见[10.验证会话生命周期配置](https://help.tableau.com/current/server/zh-cn/security_harden.htm#10.)。Web 制作会话不会被视为“连接的客户端”，并且它们不使用 刷新 令牌。

立即从 Tableau Server 断开所有连接的客户端的并要求用户在每次连接时登录：

1. 以服务器管理员身份登录到 Tableau Server。
2. 在站点菜单中，单击“管理所有站点”，然后单击“设置”\>“常规”。
3. 在“连接的客户端”下，清除“允许客户端自动连接到 Tableau Server”复选框。
4. 单击页面顶部或底部的“保存”按钮。

**注意：**上述设置仅适用于连接的客户端，不会影响 PAT 的创建和兑换。