Skip to content

Commit 02c3d79

Browse files
authored
docs: update document for UserLoginEvent and UserLogoutEvent (#497)
1 parent 46143f9 commit 02c3d79

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/developer-guide/plugin/interaction/shared-events.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ public class HaloEventListener {
5353

5454
- UserConnectionDisconnectedEvent:用户解绑第三方登陆方式时触发的事件
5555

56+
#### 用户
57+
58+
- UserLoginEvent:用户登录成功
59+
- UserLogoutEvent:用户登出成功
60+
5661
## 发布自定义共享事件
5762

5863
除了监听已有的共享事件,插件也可以定义和发布自定义的共享事件,使得其他依赖该插件的组件能够监听和响应。

0 commit comments

Comments
 (0)