Steam ID)进行验证。 在 Steamworks C++ API 中,用户的 SteamID 包含在 CSteamID 对象中。 您可以调用 ISteamUser::GetSteamID 获取当前用户的 Steam ID,然后对返回值调用 CSteamID.ConvertToUint64() 获取其 64 位 ID。partner.steam-api.com 发送 HTTPS 请求。public/steam/lib 目录下。m_eAuthSessionResponse 字段将设置为 k_EAuthSessionResponseNoLicenseOrExpired。 在收到用户的会话票证并传入 ISteamUser::BeginAuthSession 之后,ISteamUser::UserHasLicenseForApp 能用于判定用户是否拥有特定的可下载内容。partner.steam-api.com 发送 HTTPS 请求,并调用 ISteamUserAuth/AuthenticateUserTicket web 方法,将用户的会话票证以十六进制编码的 UTF-8 字符串传入。 注意,此方法允许传入与所提供票证的 AppID 关联的 Steam Web API 密钥 或 Web API 发行商密钥。 未来此 API 将更新为在提供 Web API 发行商密钥时向调用方返回更多信息。CSpaceWarClient::RetrieveEncryptedAppTicket 与 CSpaceWarClient::OnRequestEncryptedAppTicket。


https://steamcommunity.com/openid/http://steamcommunity.com/openid/id/<steamid>api.steampowered.com 发送 HTTPS 请求,并调用 ISteamUserAuth/AuthenticateUserTicket web 方法,将用户的会话票证以十六进制编码的 UTF-8 字符串传入。 请注意此方法要求与所给票证的 AppID 绑定的 Web API 开发商密钥。