1. MClientFactory

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
public static class MClientFactory : object

Methods

CreateMClient(Uri)

Creates a new instance of the IWebMClient implementation.

Declaration
public static IWebMClient CreateMClient(Uri endpoint)
Parameters
TypeNameDescription
Uriendpoint

Base uri of the Sitecore Content Hub instance to connect to.

Returns
TypeDescription
IWebMClient

A new IWebMClient instance.

CreateMClient(Uri, OAuthPasswordGrant)

Creates a new instance of the IWebMClient implementation.

Declaration
public static IWebMClient CreateMClient(Uri endoint, OAuthPasswordGrant oAuth)
Parameters
TypeNameDescription
Uriendoint

Base uri of the Sitecore Content Hub instance to connect to.

OAuthPasswordGrantoAuth

OAuth authentication details.

Returns
TypeDescription
IWebMClient

A new IWebMClient instance.

CreateMClient(Uri, OAuthRefreshTokenGrant)

Creates a new instance of the IWebMClient implementation.

Declaration
public static IWebMClient CreateMClient(Uri endpoint, OAuthRefreshTokenGrant oAuth)
Parameters
TypeNameDescription
Uriendpoint

Base uri of the Sitecore Content Hub instance to connect to.

OAuthRefreshTokenGrantoAuth

OAuth authentication details.

Returns
TypeDescription
IWebMClient

A new IWebMClient instance.

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