docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomIDRequest

    Request for signing up or signing in a player with Custom ID.

    Inheritance
    object
    CustomIDRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.PlayerAuthentication
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class CustomIDRequest

    Constructors

    CustomIDRequest(string, bool)

    Initializes a new instance of the CustomIDRequest class.

    Declaration
    [Preserve]
    public CustomIDRequest(string externalId = null, bool signInOnly = false)
    Parameters
    Type Name Description
    string externalId

    The external id used to identify the player. Length must be between 1-320. (required).

    bool signInOnly

    Whether the API should only attempt to sign-in and do not create a new player if the player does not exist..

    Properties

    ExternalId

    The external id used to identify the player. Length must be between 1-320.

    Declaration
    [Preserve]
    public string ExternalId { get; set; }
    Property Value
    Type Description
    string

    The external id used to identify the player. Length must be between 1-320.

    SignInOnly

    Whether the API should only attempt to sign-in and do not create a new player if the player does not exist.

    Declaration
    [Preserve]
    public bool SignInOnly { get; set; }
    Property Value
    Type Description
    bool

    Whether the API should only attempt to sign-in and do not create a new player if the player does not exist.

    In This Article
    Back to top
    Copyright © 2024 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)