为当前用户在目标空间重新签发访问令牌;要求该用户在目标空间存在 active 成员关系
OK
Memberships lists every workspace the user can authenticate into, along with their role in each. Always populated (length 1 for users who only belong to their home workspace) so frontends can render a workspace switcher without a follow-up request. Serialised without omitempty so the field is always present as a JSON array (possibly empty) — the "always populated" contract relies on the server side guaranteeing a non-nil slice.