語言

OAuthClientConfig 類別

定義

一個包含 OAuthClient 設定值的類別。

public static class OAuthClientConfig
type OAuthClientConfig = class
Public Class OAuthClientConfig
繼承
OAuthClientConfig

屬性

名稱 Description
EmulateOAuthCards

取得或設定一個值,指示在使用模擬器時,是否要模擬 OAuthCard 行為,或是使用連接流程。

OAuthEndpoint

取得或設定用於 API 請求的預設端點。

方法

名稱 Description
SendEmulateOAuthCardsAsync(OAuthClient, Boolean)

在模擬器上使用 Bot 進行測試時,傳送虛擬 OAuth 記憶卡,而不擷取實際令牌。

適用於