服务 C API 概述 - PFAuthentication.h

函数

函数 说明
PFAuthenticationAuthenticateGameServerWithCustomIdAsync 创建game_server实体令牌并返回新的或现有的game_server实体。
PFAuthenticationAuthenticateGameServerWithCustomIdGetResult 获取成功的 PFInventoryPurchaseInventoryItemsAsync 调用的结果。
PFAuthenticationAuthenticateGameServerWithCustomIdGetResultSize 获取存储 ListGroupBlocks 调用结果所需的大小(以字节为单位)。
PFAuthenticationDeleteAsync 删除 game_server 实体。
PFAuthenticationGetEntityAsync 将旧版 AuthenticationTicket 或游戏 SecretKey 交换为实体令牌或刷新仍然有效的实体令牌的方法。
PFAuthenticationGetEntityGetResult 获取成功的 PFInventoryPurchaseInventoryItemsAsync 调用的结果。
PFAuthenticationGetEntityWithSecretKeyAsync 将旧版 AuthenticationTicket 或游戏 SecretKey 交换为实体令牌或刷新仍然有效的实体令牌的方法。
PFAuthenticationGetEntityWithSecretKeyGetResult 获取成功 PFAuthenticationGetEntityWithSecretKeyAsync 调用的结果。
PFAuthenticationLoginWithAppleAsync 让用户使用“通过 Apple 登录”标识令牌登录。
PFAuthenticationLoginWithAppleGetResult 从 PFAuthenticationLoginWithAppleAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithAppleGetResultSize 获取存储 PFAuthenticationLoginWithAppleAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithCustomIDAsync 使用游戏生成的自定义唯一标识符登录用户,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用
PFAuthenticationLoginWithCustomIDGetResult 从 PFAuthenticationLoginWithCustomIDAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithCustomIDGetResultSize 获取存储 PFAuthenticationLoginWithCustomIDAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithFacebookAsync 使用 Facebook 访问令牌登录用户,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用
PFAuthenticationLoginWithFacebookGetResult 从 PFAuthenticationLoginWith FacebookAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithFacebookGetResultSize 获取存储 PFAuthenticationLoginWithFacebookAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithGameCenterAsync 使用 iOS Game Center玩家标识符登录用户,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用。 如果在此请求中不包括可选的 PublicKeyUrl、Salt、Signature 和 Timestamp 参数,则使用 Game Center ID 登录不安全。 建议在所有 Game Center 调用上使用这些参数,方法是转到 PlayFab Game Manager 中的 Apple 加载项页面并启用“仅对此应用要求安全身份验证”选项。
PFAuthenticationLoginWithGameCenterGetResult 从 PFAuthenticationLoginWithGameCenterAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithGameCenterGetResultSize 获取存储 PFAuthenticationLoginWithGameCenterAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithGoogleAccountAsync 使用其 Google 帐户凭据登录用户
PFAuthenticationLoginWithGoogleAccountGetResult 从 PFAuthenticationLoginWithGoogleAccountAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithGoogleAccountGetResultSize 获取存储 PFAuthenticationLoginWithGoogleAccountAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithGooglePlayGamesServicesAsync 让用户使用其 Google Play Games 帐户凭据登录
PFAuthenticationLoginWithGooglePlayGamesServicesGetResult 从 PFAuthenticationLoginWithGooglePlayGamesServicesAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithGooglePlayGamesServicesGetResultSize 获取存储 PFAuthenticationLoginWithGooglePlayGamesServicesAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithNintendoServiceAccountAsync 使用 Nintendo 服务帐户令牌让用户登录。
PFAuthenticationLoginWithNintendoServiceAccountGetResult 从 PFAuthenticationLoginWithNintendoServiceAccountAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithNintendoServiceAccountGetResultSize 获取存储 PFAuthenticationLoginWithNintendoServiceAccountAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithOpenIdConnectAsync 具有 Open ID Connect JWT 的用户中的日志,该用户由游戏与 Open ID Connect 提供程序之间的现有关系创建。
PFAuthenticationLoginWithOpenIdConnectGetResult 从 PFAuthenticationLoginWithOpenIdConnectAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithOpenIdConnectGetResultSize 获取存储 PFAuthenticationLoginWithOpenIdConnectAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithPSNAsync 使用 PlayStation ™️ Network 身份验证代码使用户登录,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用。
PFAuthenticationLoginWithPSNGetResult 从 PFAuthenticationLoginWithPSNAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithPSNGetResultSize 获取存储 PFAuthenticationLoginWithPSNAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithSteamAsync 使用 Steam 身份验证票证使用户登录,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用
PFAuthenticationLoginWithSteamGetResult 从 PFAuthenticationLoginWithSteamAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithSteamGetResultSize 获取存储 PFAuthenticationLoginWithSteamAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithXboxAsync 使用 Xbox Live 令牌使用户登录,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用
PFAuthenticationLoginWithXboxGetResult 从 PFAuthenticationLoginWithXboxAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithXboxGetResultSize 获取存储 PFAuthenticationLoginWithXboxAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationLoginWithXUserAsync 使用 XUserHandle 登录用户,返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用。
PFAuthenticationLoginWithXUserGetResult 从 PFAuthenticationLoginWithXUserAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationLoginWithXUserGetResultSize 获取存储 PFAuthenticationLoginWithXUserAsync 调用结果所需的大小(以字节为单位)。
PFAuthenticationReLoginWithAppleAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithCustomIDAsync 重新验证现有 PFEntityHandle。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithFacebookAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithGameCenterAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithGoogleAccountAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithGooglePlayGamesServicesAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithNintendoServiceAccountAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithOpenIdConnectAsync 重新验证现有 PFEntityHandle。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithPSNAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithSteamAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithXboxAsync 重新对现有 PFEntityHandle 进行身份验证。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationReLoginWithXUserAsync 使用 XUserHandle 重新验证现有 PFEntityHandle。 用于处理 EntityToken 已过期且 PlayFab SDK 无法刷新它的情况。
PFAuthenticationServerLoginWithServerCustomIdAsync LoginWithServerCustomId 使用该玩家的自定义标识符从外部服务器后端安全登录游戏客户端。 服务器自定义 ID 和客户端自定义 ID 是互斥的,不能用于检索同一玩家帐户。
PFAuthenticationServerLoginWithServerCustomIdGetResult 从 PFAuthenticationLoginWithXUserAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationServerLoginWithServerCustomIdGetResultSize 获取存储 ListGroupBlocks 调用结果所需的大小(以字节为单位)。
PFAuthenticationServerLoginWithSteamIdAsync 使用 XUserHandle 登录用户,返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用。
PFAuthenticationServerLoginWithSteamIdGetResult 从 PFAuthenticationLoginWithSteamAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationServerLoginWithSteamIdGetResultSize 获取存储 ListGroupBlocks 调用结果所需的大小(以字节为单位)。
PFAuthenticationServerLoginWithXboxAsync LoginWithXbox 从外部服务器后端使用Xbox Live令牌登录用户,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用。
PFAuthenticationServerLoginWithXboxGetResult 从 PFAuthenticationLoginWithXUserAsync 调用中获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationServerLoginWithXboxGetResultSize 获取存储 ListGroupBlocks 调用结果所需的大小(以字节为单位)。
PFAuthenticationServerLoginWithXboxIdAsync LoginWithXboxId 使用 Xbox ID 和沙盒 ID 登录用户,并返回会话标识符,该标识符随后可用于需要经过身份验证的用户的 API 调用。
PFAuthenticationServerLoginWithXboxIdGetResult 从 PFAuthenticationLoginWithSteamAsync 调用获取结果。 将始终返回 PFEntityHandle,但仅当提供了缓冲区时,才会返回 PFAuthenticationLoginResult 中的其他信息。
PFAuthenticationServerLoginWithXboxIdGetResultSize 获取存储 ListGroupBlocks 调用结果所需的大小(以字节为单位)。
PFAuthenticationValidateEntityTokenAsync 服务器验证客户端的方法提供了 EntityToken。 只能由游戏实体调用。
PFAuthenticationValidateEntityTokenGetResult 获取成功的 PFInventoryPurchaseInventoryItemsAsync 调用的结果。
PFAuthenticationValidateEntityTokenGetResultSize 获取存储 ListGroupBlocks 调用结果所需的大小(以字节为单位)。