重构: 源码文件蛇形命名, 接口去I头(BindRequestContext/SimApiAuthChecker), 清理C#相关说明, serialization依赖路径改 serialization-cj
This commit is contained in:
1 parent
829f009229
commit
30e5f165f2
56 files changed
+319
-332
No files matched your search
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (c) 2025 SimcuTeam. All rights reserved.
|
||||
* 遵循 MIT 许可证。
|
||||
*/
|
||||
|
||||
package simcu::simapi.interfaces
|
||||
|
||||
import simcu::simapi.communications.*
|
||||
|
||||
/**
|
||||
* 认证后处理 Hook:实现后每次认证成功都会调用。
|
||||
*/
|
||||
public interface SimApiAuthChecker {
|
||||
/**
|
||||
* 认证成功后执行。
|
||||
* @param loginItem 登录信息。
|
||||
* @param token 登录 token。
|
||||
*/
|
||||
func run(loginItem: SimApiLoginItem, token: String): Unit
|
||||
}
|
||||
Reference in new issue
Block a user