Class MClientFactory
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Defines the M client factory
Inheritance
System.Object
MClientFactory
Namespace: Stylelabs.M.Sdk.WebClient
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
Methods
CreateMClient(Uri)
Creates a new instance of the IWebMClient implementation.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | endpoint |
Base uri of the Sitecore Content Hub instance to connect to. |
Returns
| Type | Description |
|---|---|
| IWebMClient |
A new IWebMClient instance. |
CreateMClient(Uri, OAuthPasswordGrant)
Creates a new instance of the IWebMClient implementation.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | endoint |
Base uri of the Sitecore Content Hub instance to connect to. |
| OAuthPasswordGrant | oAuth |
OAuth authentication details. |
Returns
| Type | Description |
|---|---|
| IWebMClient |
A new IWebMClient instance. |
CreateMClient(Uri, OAuthRefreshTokenGrant)
Creates a new instance of the IWebMClient implementation.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | endpoint |
Base uri of the Sitecore Content Hub instance to connect to. |
| OAuthRefreshTokenGrant | oAuth |
OAuth authentication details. |
Returns
| Type | Description |
|---|---|
| IWebMClient |
A new IWebMClient instance. |