zentao-api / ZentaoProfileRecord
Interface: ZentaoProfileRecord
运行时返回的 profile,会额外带上 account@server 形式的 key。
Extends
Indexable
[
key:string]:unknown
允许上层应用保存额外字段。
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
account | string | 用户账号。 | ZentaoProfile.account |
config? | ZentaoProfileConfig | 客户端自定义配置。 | ZentaoProfile.config |
key | string | - | - |
lastUsedTime? | string | 最后使用时间。 | ZentaoProfile.lastUsedTime |
loginTime? | string | 登录时间。 | ZentaoProfile.loginTime |
server | string | 禅道站点根地址,不包含 /api.php/v2。 | ZentaoProfile.server |
serverConfig? | ServerConfig | 禅道服务端配置。 | ZentaoProfile.serverConfig |
token | string | 禅道 API Token。 | ZentaoProfile.token |
user? | Record<string, unknown> | 登录验证通过后得到的用户信息。 | ZentaoProfile.user |