docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GenerateCodeResponse

    Response for code linking with information on the code.

    Inheritance
    object
    GenerateCodeResponse
    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 GenerateCodeResponse

    Constructors

    GenerateCodeResponse(string, string, string)

    Initializes a new instance of the GenerateCodeResponse class.

    Declaration
    [Preserve]
    public GenerateCodeResponse(string codeLinkSessionId = null, string signInCode = null, string expiration = null)
    Parameters
    Type Name Description
    string codeLinkSessionId

    UUID identifying the code linking session. (required).

    string signInCode

    The code required to perform the code confirmation. (required).

    string expiration

    The timestamp for when the code is no longer valid in unix time since epoch. (required).

    Properties

    CodeLinkSessionId

    UUID identifying the code linking session.

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

    UUID identifying the code linking session.

    Expiration

    The timestamp for when the code is no longer valid in unix time since epoch.

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

    The timestamp for when the code is no longer valid in unix time since epoch.

    SignInCode

    The code required to perform the code confirmation.

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

    The code required to perform the code confirmation.

    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)