📄️ 工作流程
以下流程图展示了 k-ID 引擎的工作流程。在流程中使用的 API 调用点已标记清楚。
📄️ 管理会话
k-ID的`Session包含当前玩家和位置的权限和年龄状态的集合。每个玩家都需要一个活动的Session。游戏应咨询活动的Session`以确定游戏中的功能是启用 还是禁用。
📄️ 获取玩家的年龄
收集年龄的司法要求
📄️ 通过年龄验证确保年龄
k-ID 支持通过扫描政府签发的证件来验证用户年龄。这需要使用 /age-verification/perform-id-verification API。
📄️ Implementing Age Assurance
Age Assurance is defined to be the overall process that proves the age of a user for various purposes, including access to a game, app or content within an app. Depending on the jurisdiction and how risky the feature is that you want to verify age for, different methods can apply. The Global Compliance Engine provides an overall workflow process, driven by APIs, that is configurable per jurisdiction and customizable for the unique needs of the game or app.
📄️ 检查年龄
如果需要显示年龄门,则现在必须调用 /age-gate/check API 来确定工作流程的下一步。如果玩家的年龄低于厂商门户中为游戏配置的最低年龄,返回的 status 字段将为 PROHIBITED。此时,应阻止玩家继续游戏。如果玩家提供了一个需要在当前位置获得可验证家长同意的出生日期,则 status 字段的值为 CHALLENGE,并在名为 challengeID 的字段中返回新的同意挑战的 ID。游戏必须要求玩家寻求家长同意。最后,如果 status 值为 PASS,则玩家可以继续进入游戏。