Table of Contents

Class TikTokShopLegacyClientExecuteAuthExtensions

Namespace
SKIT.FlurlHttpClient.ByteDance.TikTokGlobalShop.ExtendedSDK.Legacy
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.TikTokGlobalShop.dll
[Obsolete("此类型专为旧版 API 设计,将于 2024-12-31 下线。")]
public static class TikTokShopLegacyClientExecuteAuthExtensions
Inheritance
TikTokShopLegacyClientExecuteAuthExtensions
Inherited Members

Methods

ExecuteAuthGetTokenAsync(TikTokShopLegacyClient, AuthGetTokenRequest, CancellationToken)

异步调用 [GET] /token/get 接口。

REF:
https://partner.tiktokshop.com/doc/page/261250

public static Task<AuthGetTokenResponse> ExecuteAuthGetTokenAsync(this TikTokShopLegacyClient client, AuthGetTokenRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request AuthGetTokenRequest
cancellationToken CancellationToken

Returns

Task<AuthGetTokenResponse>

ExecuteAuthRefreshTokenAsync(TikTokShopLegacyClient, AuthRefreshTokenRequest, CancellationToken)

异步调用 [GET] /token/refresh 接口。

REF:
https://partner.tiktokshop.com/doc/page/261250
https://partner.tiktokshop.com/doc/page/262967

public static Task<AuthRefreshTokenResponse> ExecuteAuthRefreshTokenAsync(this TikTokShopLegacyClient client, AuthRefreshTokenRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request AuthRefreshTokenRequest
cancellationToken CancellationToken

Returns

Task<AuthRefreshTokenResponse>