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