Class TokenRequest
This class is used to authenticate the API call to UDP. In OAuth2.0 authentication format.
Inherited Members
Namespace: UnityEditor .Purchasing
Assembly: solution.dll
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 |