IVssRestClientOptions interface
Options for a specific instance of a REST client.
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. |
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
Current command for activity logging.
command?: string
Property Value
string
The root URL path to use for this client. Can be relative or absolute.
rootPath?: string | Promise<string>
Property Value
string | Promise<string>
Current session id.
sessionId?: string
Property Value
string