1. MClientFactory

クラス MClientFactory

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

M クライアント ファクトリを定義します

継承
System.Object
MClientFactory
名前空間: Stylelabs.M.Sdk.WebClient
アセンブリ: Stylelabs.M.Sdk.WebClient.dll
構文
public static class MClientFactory : object

メソッド

CreateMClient(Uri)

IWebMClient 実装の新しいインスタンスを作成します。

宣言
public static IWebMClient CreateMClient(Uri endpoint)
パラメーター
名前説明
Uriendpoint

Sitecore Content Hub インスタンスが接続する基本 URI。

戻り値
説明
IWebMClient

新しい IWebMClient インスタンス。

CreateMClient(Uri, OAuthPasswordGrant)

IWebMClient 実装の新しいインスタンスを作成します。

宣言
public static IWebMClient CreateMClient(Uri endpoint, OAuthPasswordGrant passwordGrant)
パラメーター
名前説明
Uriendpoint

Sitecore Content Hub インスタンスが接続する基本 URI。

OAuthPasswordGrantpasswordGrant

OAuth 認証の詳細。

戻り値
説明
IWebMClient

新しい IWebMClient インスタンス。

CreateMClient(Uri, OAuthRefreshTokenGrant)

IWebMClient 実装の新しいインスタンスを作成します。

宣言
public static IWebMClient CreateMClient(Uri endpoint, OAuthRefreshTokenGrant refreshTokenGrant)
パラメーター
名前説明
Uriendpoint

Sitecore Content Hub インスタンスが接続する基本 URI。

OAuthRefreshTokenGrantrefreshTokenGrant

OAuth 認証の詳細。

戻り値
説明
IWebMClient

新しい IWebMClient インスタンス。

この記事を改善するための提案がある場合は、 お知らせください!