IVssRestClientOptions interface
Options for a specific instance of a REST client.
Properties
auth |
Auth token manager that can be used to get and attach auth tokens to requests. If not supplied, the default token provider is used if the serviceInstanceType option is supplied and is different from the hosting page's service instance type. |
command | Current command for activity logging. |
root |
The root URL path to use for this client. Can be relative or absolute. |
session |
Current session id. |
Property Details
authTokenProvider
Auth token manager that can be used to get and attach auth tokens to requests. If not supplied, the default token provider is used if the serviceInstanceType option is supplied and is different from the hosting page's service instance type.
authTokenProvider?: IAuthorizationTokenProvider
Property Value
command
Current command for activity logging.
command?: string
Property Value
string
rootPath
The root URL path to use for this client. Can be relative or absolute.
rootPath?: string | Promise<string>
Property Value
string | Promise<string>
sessionId
Current session id.
sessionId?: string
Property Value
string
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈