Assembly: Veriplace.Client (in Veriplace.Client.dll) Version: 1.7.0.25986 (1.7.0.0)
Syntax
| C# |
|---|
public class DefaultClientFactory : IClientFactory |
| Visual Basic (Declaration) |
|---|
Public Class DefaultClientFactory _ Implements IClientFactory |
| Visual C++ |
|---|
public ref class DefaultClientFactory : IClientFactory |
Remarks
The <applicationSettings> element of your configuration file must contain a <Veriplace.Properties.Settings> section. The properties in this section have the same names and meanings as the corresponding properties in ClientConfiguration, with the following exceptions:
- ApplicationToken is represented as two string values, "ApplicationTokenValue" and "ApplicationTokenSecret".
- CallbackIncludeParameters and CallbackExcludeParameters are represented as comma-delimited lists.
- OAuthConsumerFactory is represented as two string values, "OAuthExternalAssemblyName" (the additional assembly to load, if any) and "OAuthConsumerFactoryClass" (the name of the class to use).
- The property "UseLastKnownLocation" (True or False) is used to construct an instance of DefaultLocationFilter which is stored in LocationFilter.
You must always specify ConsumerKey and ConsumerSecret; all other properties are optional and have default values as described in ClientConfiguration.
CallbackFactory, TokenStore, and Redirector cannot be configured in application settings, but can be set in the DefaultClientFactory's ClientProperties object before constructing the client.
Inheritance Hierarchy
Veriplace.Client.Factory..::.DefaultClientFactory