docs.unity3d.com
    Show / Hide Table of Contents

    Class TokenRequest

    This class is used to authenticate the API call to UDP. In OAuth2.0 authentication format.

    Inheritance
    Object
    TokenRequest
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Purchasing
    Syntax
    [Serializable]
    public class TokenRequest

    Fields

    client_id

    The client identifier

    Declaration
    public string client_id
    Field Value
    Type Description
    String

    client_secret

    The client secret key

    Declaration
    public string client_secret
    Field Value
    Type Description
    String

    code

    The access token. Acquired by UnityOAuth

    Declaration
    public string code
    Field Value
    Type Description
    String

    grant_type

    The type of OAuth2.0 code granting.

    Declaration
    public string grant_type
    Field Value
    Type Description
    String

    redirect_uri

    Redirect use after a successful authorization.

    Declaration
    public string redirect_uri
    Field Value
    Type Description
    String

    refresh_token

    When the access token is expire. This token is used to renew it.

    Declaration
    public string refresh_token
    Field Value
    Type Description
    String
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023