docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SignedPlayerInfo

    Represents information about the player along with a signature to verify that it indeed comes from Facebook.

    Inheritance
    object
    JsObject
    SignedPlayerInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Meta.InstantGames.v8
    Assembly: Unity.Meta.InstantGames.Sdk.v8.dll
    Syntax
    public class SignedPlayerInfo : JsObject

    Constructors

    SignedPlayerInfo()

    Construct an instance of SignedPlayerInfo

    Declaration
    public SignedPlayerInfo()

    Methods

    GetPlayerID()

    Get the id of the player.

    Declaration
    public string GetPlayerID()
    Returns
    Type Description
    string

    The ID of the player.

    GetSignature()

    A signature to verify this object indeed 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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)