Class SignedASID
Represents the Application-Scoped ID of the current player along with a signature to verify that it comes from Facebook.
Inherited Members
Namespace: Meta.InstantGames
Assembly: Unity.Meta.InstantGames.Sdk.dll
Syntax
public class SignedASID : JsObjectConstructors
SignedASID()
Construct an instance of SignedASID
Declaration
public SignedASID()Methods
GetASID()
Gets the Application-Scoped ID of the player.
Declaration
public string GetASID()Returns
| Type | Description | 
|---|---|
| string | The Application-Scoped ID of the player. | 
GetSignature()
Returns a signature to verify this object comes from Facebook. The string is Base64URL-encoded and signed with an HMAC version of your App Secret, based on the OAuth 2.0 spec.
Declaration
public string GetSignature()Returns
| Type | Description | 
|---|---|
| string | The signature string. |