GKLocalPlayer.GenerateIdentityVerificationSignature 方法

定义

创建并返回一个签名,用于在第三方服务器上对本地玩家进行身份验证。 查看备注

[Foundation.Export("generateIdentityVerificationSignatureWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GenerateIdentityVerificationSignature (GameKit.GKIdentityVerificationSignatureHandler completionHandler);
abstract member GenerateIdentityVerificationSignature : GameKit.GKIdentityVerificationSignatureHandler -> unit
override this.GenerateIdentityVerificationSignature : GameKit.GKIdentityVerificationSignatureHandler -> unit

参数

completionHandler
GKIdentityVerificationSignatureHandler

内容待定。

此参数可以为 null

属性

注解

completionHandler 接收加密密钥 URL、签名数据、salt、时间戳和成功时的错误对象 null

适用于