docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GenerateCodeRequest

    Request for generating a sign in code.

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

    Constructors

    GenerateCodeRequest(string, string)

    Initializes a new instance of the GenerateCodeRequest class.

    Declaration
    [Preserve]
    public GenerateCodeRequest(string identifier = null, string codeChallenge = null)
    Parameters
    Type Name Description
    string identifier

    Human-readable string to identify the requester device..

    string codeChallenge

    SHA-256 string challenge for PKCE validation (required).

    Properties

    CodeChallenge

    SHA-256 string challenge for PKCE validation

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

    SHA-256 string challenge for PKCE validation

    Identifier

    Human-readable string to identify the requester device.

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

    Human-readable string to identify the requester device.

    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)