Docusign CSharp Docs
|
Represents a set of configuration settings More...
Public Member Functions | |
Configuration (string basePath="https://demo.docusign.net/restapi") | |
Initializes a new instance of the Configuration class More... | |
string | GetApiKeyWithPrefix (string apiKeyIdentifier) |
Gets the API key with prefix. More... | |
void | AddDefaultHeader (string key, string value) |
Add default header. More... | |
void | AddApiKey (string key, string value) |
Add Api Key Header. More... | |
void | AddApiKeyPrefix (string key, string value) |
Sets the API key prefix. More... | |
Static Public Member Functions | |
static String | ToDebugReport () |
Returns a string with essential information for debugging. More... | |
Public Attributes | |
const string | Version = "8.0.0-rc2" |
Version of the package. More... | |
const string | ISO8601_DATETIME_FORMAT = "o" |
Identifier for ISO 8601 DateTime Format More... | |
const int | DefaultTimeoutValue = 100000 |
Static Public Attributes | |
static readonly ExceptionFactory | DefaultExceptionFactory |
Default creation of exceptions for a given method name and response object More... | |
Properties | |
static Configuration | Default [get, set] |
Gets or sets the default Configuration. More... | |
virtual string | BasePath [get, set] |
Gets or sets the base path for API access. More... | |
virtual IDictionary< string, string > | DefaultHeader [get, set] |
Gets or sets the default header. More... | |
virtual int | Timeout [get, set] |
Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. More... | |
virtual string | UserAgent [get, set] |
Gets or sets the HTTP user agent. More... | |
virtual string | AccessToken [get, set] |
Gets or sets the access token for OAuth2 authentication. More... | |
virtual string | TempFolderPath [get, set] |
Gets or sets the temporary folder path to store the files downloaded from the server. More... | |
virtual string | DateTimeFormat [get, set] |
Gets or sets the date time format used when serializing in the ApiClient By default, it's set to ISO 8601 - "o", for others see: https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx No validation is done to ensure that the string you're providing is valid More... | |
virtual IDictionary< string, string > | ApiKeyPrefix [get, set] |
Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. More... | |
virtual IDictionary< string, string > | ApiKey [get, set] |
Gets or sets the API key based on the authentication name. More... | |
Represents a set of configuration settings
|
inline |
Initializes a new instance of the Configuration class
|
inline |
|
inline |
|
inline |
Add default header.
key | Header field name. |
value | Header field value. |
|
inline |
Gets the API key with prefix.
apiKeyIdentifier | API key identifier (authentication scheme). |
|
inlinestatic |
Returns a string with essential information for debugging.
|
static |
Default creation of exceptions for a given method name and response object
const string DocuSign.eSign.Client.Configuration.ISO8601_DATETIME_FORMAT = "o" |
Identifier for ISO 8601 DateTime Format
See https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 for more information.
const string DocuSign.eSign.Client.Configuration.Version = "8.0.0-rc2" |
Version of the package.
Version of the package.
|
getset |
Gets or sets the access token for OAuth2 authentication.
The access token.
|
getset |
Gets or sets the API key based on the authentication name.
The API key.
|
getset |
Gets or sets the prefix (e.g. Token) of the API key based on the authentication name.
The prefix of the API key.
|
getset |
Gets or sets the base path for API access.
|
getset |
Gets or sets the date time format used when serializing in the ApiClient By default, it's set to ISO 8601 - "o", for others see: https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx No validation is done to ensure that the string you're providing is valid
The DateTimeFormat string
|
staticgetset |
Gets or sets the default Configuration.
|
getset |
Gets or sets the default header.
|
getset |
Gets or sets the temporary folder path to store the files downloaded from the server.
Folder path.
|
getset |
Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds.
|
getset |
Gets or sets the HTTP user agent.
Http user agent.