Skip to content

v1.47.0: ✨ feat(user): 新增 `UserIdentity` 類別及 `userIdentities` 方法

Choose a tag to compare

@mathsgod mathsgod released this 07 Oct 08:42
· 3 commits to main since this release
* 新增 `UserIdentity` 類別以封裝用戶身份資訊。
* 在 `App` 類別中新增 `userIdentities` 方法,允許根據用戶 ID 獲取用戶身份名稱,並確保不授予用戶管理的訪問權限。
* 實現了對用戶 ID 的唯一性檢查,並處理空輸入的情況。
* 新增 `UserIdentitiesTest` 測試類別以驗證新功能的正確性。