跳到主要内容

账户中心

该分类包含 5 条以 system.account-center. 开头的 Runtime 系统命令。

1. 列出登录记录​

完整命令:system.account-center.login-record.list

列出账号中心登录记录。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system account-center login-record list \
[--keyword value] [--from iso --to iso] [--cursor value] [--limit n] \
[--json]

参数:

  • cursor(可选)— Opaque nextCursor returned by the previous request
  • limit(可选)— Maximum records to return, 1-100; defaults to 20
  • keyword(可选)— Case-insensitive match against member name, email, IP address, or user agent; at most 200 characters
  • occurredAtFrom(可选)— Inclusive ISO datetime with offset. Must be supplied together with occurredAtTo
  • occurredAtTo(可选)— Inclusive ISO datetime with offset. Must be supplied together with occurredAtFrom

2. 获取会话安全​

完整命令:system.account-center.session-policy.get

获取账号中心会话安全资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system account-center session-policy get [--json]

参数:无(除 --json 等通用选项外)。

3. 更新会话安全​

完整命令:system.account-center.session-policy.update

更新账号中心会话安全资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:写入

sl system account-center session-policy update \
(--session-ttl-minutes n|--never-expire) [--json]

参数:

  • sessionTtlMinutes(必填)— Integer 1-525600 for future Runtime member-session lifetime, or null for sessions without automatic expiration

4. 列出身份桥接观测​

完整命令:system.account-center.identity-bridge.observation.list

列出账号中心身份桥接观测。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system account-center identity-bridge observation list \
[--status pending|mapped] [--cursor value] [--limit n] [--json]

参数:

  • status(可选)— pending or mapped; defaults to pending
  • cursor(可选)— Opaque nextCursor returned by the previous request
  • limit(可选)— Maximum identities to return, 1-100; defaults to 20

5. 创建身份桥接映射​

完整命令:system.account-center.identity-bridge.mapping.create

创建账号中心身份桥接映射资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:写入

sl system account-center identity-bridge mapping create \
--observation-id <uuid> --member-id <uuid> [--json]

参数:

  • observationId(必填)— Pending identity observation UUID discovered with observation.list
  • memberId(必填)— Active tenant member UUID discovered with the organization member commands