isClientAuth

语法

isClientAuth()

参数

详情

返回一个布尔值,表示配置项 enableClientAuth 的值。

enableClientAuth 设置为 true 时,访客用户必须登录才能执行脚本,可通过 API 调用少数运维函数,包括:isClientAuth, getNodeType, getNodeAlias, login, authenticateByTicket, getControllerAlias, version, license, getActiveMaster, getClusterPerf, loadClusterNodesConfigs, getConfig, oauthLogin, getCurrentSessionAndUser, getDynamicPublicKey