Class AppsTokenV2Request
- Namespace
- SKIT.FlurlHttpClient.ByteDance.MicroApp.Models
- Assembly
- DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll
表示 [POST] /apps/v2/token 接口的请求。
public class AppsTokenV2Request : ByteDanceMicroAppRequest, ICommonRequest
- Inheritance
-
AppsTokenV2Request
- Implements
-
ICommonRequest
- Inherited Members
Constructors
AppsTokenV2Request()
public AppsTokenV2Request()
Properties
AppId
获取或设置小程序的 AppId。如果不指定将使用构造 ByteDanceMicroAppClient 时的 AppId 参数。
[JsonPropertyName("appid")]
public string? AppId { get; set; }
Property Value
AppSecret
获取或设置小程序的 AppSecret。如果不指定将使用构造 ByteDanceMicroAppClient 时的 AppSecret 参数。
[JsonPropertyName("secret")]
public string? AppSecret { get; set; }
Property Value
GrantType
(使用默认值即可,无需修改)
[JsonPropertyName("grant_type")]
public string GrantType { get; set; }