Skip to content

Commit 966e35c

Browse files
authored
docs(API): onVerified & onLogin request.object
1 parent efc6a2a commit 966e35c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

API.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ LeanEngine 中间件会为这些 Hook 函数检查「Hook 签名」,确保调
172172

173173
* `currentUser: AV.User`:被操作的用户。
174174
* `user: AV.User`:同 `currentUser`.
175+
* `object: AV.User`:同 `currentUser`,因为登录认证 hook 被操作的对象正好是发起操作的用户。
175176

176177
### 实时通信 Hook 函数
177178

0 commit comments

Comments
 (0)