Skip to content

zentao-api / ZentaoProfileRecord

Interface: ZentaoProfileRecord

运行时返回的 profile,会额外带上 account@server 形式的 key。

Extends

Indexable

[key: string]: unknown

允许上层应用保存额外字段。

Properties

PropertyTypeDescriptionInherited from
accountstring用户账号。ZentaoProfile.account
config?ZentaoProfileConfig客户端自定义配置。ZentaoProfile.config
keystring--
lastUsedTime?string最后使用时间。ZentaoProfile.lastUsedTime
loginTime?string登录时间。ZentaoProfile.loginTime
serverstring禅道站点根地址,不包含 /api.php/v2ZentaoProfile.server
serverConfig?ServerConfig禅道服务端配置。ZentaoProfile.serverConfig
tokenstring禅道 API Token。ZentaoProfile.token
user?Record<string, unknown>登录验证通过后得到的用户信息。ZentaoProfile.user

Released under the MIT License.