|
| Configuration () |
| Initializes a new instance of the Configuration class More...
|
|
| Configuration (IDictionary< string, string > defaultHeaders, IDictionary< string, string > apiKey, IDictionary< string, string > apiKeyPrefix, string basePath="https://www.lusid.com/api") |
| Initializes a new instance of the Configuration class More...
|
|
string | GetApiKeyWithPrefix (string apiKeyIdentifier) |
| Gets the API key with prefix. More...
|
|
string | GetServerUrl (int index) |
| Returns URL based on server settings without providing values for the variables More...
|
|
string | GetServerUrl (int index, Dictionary< string, string > inputVariables) |
| Returns URL based on server settings. More...
|
|
string | GetOperationServerUrl (string operation, int index) |
| Returns URL based on operation server settings. More...
|
|
string | GetOperationServerUrl (string operation, int index, Dictionary< string, string > inputVariables) |
| Returns URL based on operation server settings. More...
|
|
void | AddApiKey (string key, string value) |
| Add Api Key Header. More...
|
|
void | AddApiKeyPrefix (string key, string value) |
| Sets the API key prefix. 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 IDictionary< string, string > | DefaultHeaders [get, set] |
| Gets or sets the default headers. More...
|
|
virtual int | Timeout [get, set] |
| Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. More...
|
|
virtual WebProxy | Proxy [get, set] |
| Gets or sets the proxy More...
|
|
virtual string | UserAgent [get, set] |
| Gets or sets the HTTP user agent. More...
|
|
virtual string | Username [get, set] |
| Gets or sets the username (HTTP basic authentication). More...
|
|
virtual string | Password [get, set] |
| Gets or sets the password (HTTP basic authentication). More...
|
|
X509CertificateCollection | ClientCertificates [get, set] |
| Gets or sets certificate collection to be sent with requests. More...
|
|
virtual string | AccessToken [get, set] |
| Gets or sets the access token for OAuth2 authentication. More...
|
|
virtual string | OAuthTokenUrl [get, set] |
| Gets or sets the token URL for OAuth2 authentication. More...
|
|
virtual string | OAuthClientId [get, set] |
| Gets or sets the client ID for OAuth2 authentication. More...
|
|
virtual string | OAuthClientSecret [get, set] |
| Gets or sets the client secret for OAuth2 authentication. More...
|
|
virtual ? OAuthFlow | OAuthFlow [get, set] |
| Gets or sets the flow 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...
|
|
virtual IList< IReadOnlyDictionary< string, object > > | Servers [get, set] |
| Gets or sets the servers. More...
|
|
virtual IReadOnlyDictionary< string, List< IReadOnlyDictionary< string, object > > > | OperationServers [get, set] |
| Gets or sets the operation servers. More...
|
|
string | AccessToken [get] |
| Gets the access token. More...
|
|
string | OAuthTokenUrl [get] |
| Gets the OAuth token URL. More...
|
|
string | OAuthClientId [get] |
| Gets the OAuth client ID. More...
|
|
string | OAuthClientSecret [get] |
| Gets the OAuth client secret. More...
|
|
OAuthFlow? | OAuthFlow [get] |
| Gets the OAuth flow. More...
|
|
IDictionary< string, string > | ApiKey [get] |
| Gets the API key. More...
|
|
IDictionary< string, string > | ApiKeyPrefix [get] |
| Gets the API key prefix. More...
|
|
string | BasePath [get] |
| Gets the base path. More...
|
|
string | DateTimeFormat [get] |
| Gets the date time format. More...
|
|
IDictionary< string, string > | DefaultHeader [get] |
| Gets the default header. More...
|
|
IDictionary< string, string > | DefaultHeaders [get] |
| Gets the default headers. More...
|
|
string | TempFolderPath [get] |
| Gets the temp folder path. More...
|
|
int | Timeout [get] |
| Gets the HTTP connection timeout (in milliseconds) More...
|
|
WebProxy | Proxy [get] |
| Gets the proxy. More...
|
|
string | UserAgent [get] |
| Gets the user agent. More...
|
|
string | Username [get] |
| Gets the username. More...
|
|
string | Password [get] |
| Gets the password. More...
|
|
IReadOnlyDictionary< string, List< IReadOnlyDictionary< string, object > > > | OperationServers [get] |
| Get the servers associated with the operation. More...
|
|
X509CertificateCollection | ClientCertificates [get] |
| Gets certificate collection to be sent with requests. More...
|
|
Represents a set of configuration settings
virtual IDictionary<string, string> Lusid.Sdk.Client.Configuration.ApiKeyPrefix |
|
getset |
Gets or sets the prefix (e.g. Token) of the API key based on the authentication name.
Whatever you set here will be prepended to the value defined in AddApiKey.
An example invocation here might be:
ApiKeyPrefix["Authorization"] = "Bearer";
… where ApiKey["Authorization"] would then be used to set the value of your bearer token.
OAuth2 workflows should set tokens via AccessToken.
The prefix of the API key.