RestOAuthClient クラス
- java.
lang. Object - com.
microsoft. bot. restclient. ServiceClient - com.
microsoft. bot. connector. rest. RestOAuthClient
- com.
- com.
実装
public class RestOAuthClient
extends ServiceClient
implements OAuthClient
OAuth クライアントを保存します。
コンストラクターの概要
| コンストラクター | 説明 |
|---|---|
| RestOAuthClient(RestClient restClient) |
コネクタ |
| RestOAuthClient(String baseUrl, ServiceClientCredentials credentials) |
コネクタ |
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
|
Bot |
getBotSignIn()
操作にアクセスするための Bot |
|
User |
getUserToken()
操作にアクセスするための User |
| protected void |
initialize()
構築後の初期化。 |
メソッドの継承元: ServiceClient
メソッドの継承元: java.lang.Object
コンストラクターの詳細
RestOAuthClient
public RestOAuthClient(RestClient restClient)
ConnectorClient クライアントのインスタンスを初期化します。
パラメーター:
RestOAuthClient
public RestOAuthClient(String baseUrl, ServiceClientCredentials credentials)
ConnectorClient クライアントのインスタンスを初期化します。
パラメーター:
メソッドの詳細
getBotSignIn
public BotSignIn getBotSignIn()
操作にアクセスするための BotSignIns オブジェクトを取得します。
戻り値:
getUserToken
public UserToken getUserToken()
操作にアクセスするための UserTokens オブジェクトを取得します。
戻り値:
initialize
protected void initialize()
構築後の初期化。