forked from loafle/openapi-generator-original
[csharp] [Req#15932] Added support for windows authentication by exposing UseDefaultCredentials property (#15935)
* Added support for windows authentication by exposing UseDefaultCredentials property * Updated samples and docs * update doc, samples --------- Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
@@ -454,7 +454,8 @@ namespace {{packageName}}.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -566,7 +567,8 @@ namespace {{packageName}}.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ namespace {{packageName}}.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -246,11 +248,21 @@ namespace {{packageName}}.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -702,6 +714,7 @@ namespace {{packageName}}.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,6 +123,11 @@ namespace {{packageName}}.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -453,7 +453,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -548,7 +549,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -175,11 +177,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -579,6 +591,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,6 +99,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -454,7 +454,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -563,7 +564,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -276,11 +278,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -718,6 +730,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -275,11 +277,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -689,6 +701,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,6 +99,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -455,7 +455,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -564,7 +565,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -76,6 +76,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -281,11 +283,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -723,6 +735,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -455,7 +455,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -564,7 +565,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -76,6 +76,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -281,11 +283,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -723,6 +735,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -455,7 +455,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -564,7 +565,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -76,6 +76,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -281,11 +283,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -723,6 +735,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -275,11 +277,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -689,6 +701,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,6 +99,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -454,7 +454,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -563,7 +564,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -276,11 +278,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -718,6 +730,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -455,7 +455,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -564,7 +565,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -76,6 +76,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -281,11 +283,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -723,6 +735,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -454,7 +454,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
CookieContainer = cookies,
|
CookieContainer = cookies,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
@@ -563,7 +564,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
ClientCertificates = configuration.ClientCertificates,
|
ClientCertificates = configuration.ClientCertificates,
|
||||||
MaxTimeout = configuration.Timeout,
|
MaxTimeout = configuration.Timeout,
|
||||||
Proxy = configuration.Proxy,
|
Proxy = configuration.Proxy,
|
||||||
UserAgent = configuration.UserAgent
|
UserAgent = configuration.UserAgent,
|
||||||
|
UseDefaultCredentials = configuration.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
|
|
||||||
RestClient client = new RestClient(clientOptions)
|
RestClient client = new RestClient(clientOptions)
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private string _basePath;
|
private string _basePath;
|
||||||
|
|
||||||
|
private bool _useDefaultCredentials = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API key based on the authentication name.
|
/// Gets or sets the API key based on the authentication name.
|
||||||
/// This is the key and value comprising the "secret" for accessing an API.
|
/// This is the key and value comprising the "secret" for accessing an API.
|
||||||
@@ -176,11 +178,21 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the base path for API access.
|
/// Gets or sets the base path for API access.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string BasePath {
|
public virtual string BasePath
|
||||||
|
{
|
||||||
get { return _basePath; }
|
get { return _basePath; }
|
||||||
set { _basePath = value; }
|
set { _basePath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
public virtual bool UseDefaultCredentials
|
||||||
|
{
|
||||||
|
get { return _useDefaultCredentials; }
|
||||||
|
set { _useDefaultCredentials = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the default header.
|
/// Gets or sets the default header.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -608,6 +620,7 @@ namespace Org.OpenAPITools.Client
|
|||||||
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
|
||||||
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
|
||||||
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
|
||||||
|
UseDefaultCredentials = second.UseDefaultCredentials
|
||||||
};
|
};
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,11 @@ namespace Org.OpenAPITools.Client
|
|||||||
/// <value>Password.</value>
|
/// <value>Password.</value>
|
||||||
string Password { get; }
|
string Password { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
|
||||||
|
/// </summary>
|
||||||
|
bool UseDefaultCredentials { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the servers associated with the operation.
|
/// Get the servers associated with the operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user