Table of Contents

Class AppsJsCode2SessionV2Request

Namespace
SKIT.FlurlHttpClient.ByteDance.MicroApp.Models
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll

表示 [POST] /apps/v2/jscode2session 接口的请求。

public class AppsJsCode2SessionV2Request : ByteDanceMicroAppRequest, ICommonRequest
Inheritance
AppsJsCode2SessionV2Request
Implements
ICommonRequest
Inherited Members

Constructors

AppsJsCode2SessionV2Request()

public AppsJsCode2SessionV2Request()

Properties

AnoymousCode

获取或设置匿名登录 Code。

[JsonPropertyName("anonymous_code")]
public string? AnoymousCode { get; set; }

Property Value

string

AppId

获取或设置小程序的 AppId。如果不指定将使用构造 ByteDanceMicroAppClient 时的 AppId 参数。

[JsonPropertyName("appid")]
public string? AppId { get; set; }

Property Value

string

AppSecret

获取或设置小程序的 AppSecret。如果不指定将使用构造 ByteDanceMicroAppClient 时的 AppSecret 参数。

[JsonPropertyName("secret")]
public string? AppSecret { get; set; }

Property Value

string

Code

获取或设置登录 Code。

[JsonPropertyName("code")]
public string? Code { get; set; }

Property Value

string