Interface IReadableConfiguration
Represents a readable-only configuration contract.
Namespace: Telerik.CallHome.OpenAPI.Client
Assembly: Telerik.Windows.Controls.dll
Syntax
public interface IReadableConfiguration
Properties
AccessToken
Gets the access token.
Declaration
string AccessToken { get; }
Property Value
System.String
Access token. |
ApiKey
Gets the API key.
Declaration
IDictionary<string, string> ApiKey { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
API key. |
ApiKeyPrefix
Gets the API key prefix.
Declaration
IDictionary<string, string> ApiKeyPrefix { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
API key prefix. |
BasePath
Gets the base path.
Declaration
string BasePath { get; }
Property Value
System.String
Base path. |
ClientCertificates
Gets certificate collection to be sent with requests.
Declaration
X509CertificateCollection ClientCertificates { get; }
Property Value
System.Security.Cryptography.X509Certificates.X509CertificateCollection
X509 Certificate collection. |
DateTimeFormat
Gets the date time format.
Declaration
string DateTimeFormat { get; }
Property Value
System.String
Date time format. |
DefaultHeader
Gets the default header.
Declaration
IDictionary<string, string> DefaultHeader { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Default header. |
DefaultHeaders
Gets the default headers.
Declaration
IDictionary<string, string> DefaultHeaders { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Default headers. |
OperationServers
Get the servers associated with the operation.
Declaration
IReadOnlyDictionary<string, List<IReadOnlyDictionary<string, object>>> OperationServers { get; }
Property Value
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.List<System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object>>>
Operation servers. |
Password
Gets the password.
Declaration
string Password { get; }
Property Value
System.String
Password. |
Proxy
Gets the proxy.
Declaration
WebProxy Proxy { get; }
Property Value
System.Net.WebProxy
Proxy. |
RemoteCertificateValidationCallback
Callback function for handling the validation of remote certificates. Useful for certificate pinning and overriding certificate errors in the scope of a request.
Declaration
RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; }
Property Value
System.Net.Security.RemoteCertificateValidationCallback
|
TempFolderPath
Gets the temp folder path.
Declaration
string TempFolderPath { get; }
Property Value
System.String
Temp folder path. |
Timeout
Gets the HTTP connection timeout (in milliseconds)
Declaration
int Timeout { get; }
Property Value
System.Int32
HTTP connection timeout. |
UseDefaultCredentials
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.
Declaration
bool UseDefaultCredentials { get; }
Property Value
System.Boolean
|
UserAgent
Gets the user agent.
Declaration
string UserAgent { get; }
Property Value
System.String
User agent. |
Username
Gets the username.
Declaration
string Username { get; }
Property Value
System.String
Username. |
Methods
GetApiKeyWithPrefix(String)
Gets the API key with prefix.
Declaration
string GetApiKeyWithPrefix(string apiKeyIdentifier)
Parameters
System.String
apiKeyIdentifier
API key identifier (authentication scheme). |
Returns
System.String
API key with prefix. |
GetOperationServerUrl(String, Int32)
Gets the Operation server url at the provided index.
Declaration
string GetOperationServerUrl(string operation, int index)
Parameters
System.String
operation
Operation server name. |
System.Int32
index
Index of the operation server settings. |
Returns
System.String
|