Class AddEndpointCommand
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Adds a new Sitecore.CH.Cli.Core.Models.Endpoint and selects it as active.
Inheritance
System.Object
System.CommandLine.Symbol
System.CommandLine.NamedSymbol
System.CommandLine.Command
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<Sitecore.CH.Cli.Core.CommandHandlers.Endpoints.AddEndpointCommandHandler>
AddEndpointCommand
Namespace: Sitecore.CH.Cli.Core.Commands.Endpoints
Assembly: Sitecore.CH.Cli.Core.dll
Syntax
Remarks
Required parameters
--name -nName for the endpoint.--url -rUrl for the endpoint.--client-id -iClient ID for the endpoint.--client-secret -sClient Secret for the endpoint.
Optional parameters
--password -pUser password.--username -uUser name.--redirect-uri -dSpecifies a local URI to complete the OAuth flow. Needs to match the value configured for the given OAuth client. Default value: http://localhost:9000/
Global parameters
-? --help -hShow this help message and exit.-v --verbosityEnables verbose logging.
Examples
Authenticate with and endpoint using user name and password from standard input:
Authenticate with and endpoint using user name and password:
Authenticate with and endpoint interactively:
Authenticate with and endpoint using a non-default redirect URI: