Builds an instance of IConnector using fluent interface.
More...
|
LicenseProvider | licenseProvider |
|
Builds an instance of IConnector using fluent interface.
◆ ConnectorBuilder()
◆ AddCommand()
Adds custom command to the connector.
- Parameters
-
name | A name of the command to add. |
commandType | A type of the command to add. All commands must that implement ICommand interface. |
- Returns
- Current instance of ConnectorBuilder.
◆ AddCommand< T >()
Adds custom command to the connector.
- Parameters
-
name | A name of the command to add. |
- Template Parameters
-
T | A type of the command to add. All commands must that implement ICommand interface. |
- Returns
- Current instance of ConnectorBuilder.
◆ AddPlugin() [1/4]
Adds a plugin.
- Parameters
-
pluginName | The name of the plugin. |
- Returns
- Current instance of ConnectorBuilder.
◆ AddPlugin() [2/4]
ConnectorBuilder AddPlugin |
( |
string |
pluginName, |
|
|
IReadOnlyDictionary< string, IReadOnlyCollection< string >> |
options |
|
) |
| |
|
inline |
Adds a plugin.
- Parameters
-
pluginName | The name of the plugin. |
options | The options for the plugin. |
- Returns
- Current instance of ConnectorBuilder.
◆ AddPlugin() [3/4]
ConnectorBuilder AddPlugin |
( |
string |
pluginName, |
|
|
IReadOnlyDictionary< string, IReadOnlyCollection< string >> |
options, |
|
|
Lazy< IPlugin > |
plugin |
|
) |
| |
|
inline |
Adds a plugin.
- Parameters
-
pluginName | The name of the plugin. |
options | The options for the plugin. |
plugin | CKFinder connector plugin instance. |
- Returns
- Current instance of ConnectorBuilder.
◆ AddPlugin() [4/4]
Adds a plugin.
- Parameters
-
pluginName | The name of the plugin. |
options | The options for the plugin. |
plugin | CKFinder connector plugin instance. |
- Returns
- Current instance of ConnectorBuilder.
◆ Build< T >()
◆ SetAuthenticator()
Defines an IAuthenticator for the connector.
- Parameters
-
authenticator | An instance of IAuthenticator. |
- Returns
- Current instance of ConnectorBuilder.
◆ SetCsrfProtection()
Defines whether enable CSRF protection. The default CSRF protection mechanism is based on double submit cookies.
- Parameters
-
enable | A boolean whether to enable this option. |
- Returns
- Current instance of ConnectorBuilder.
◆ SetLicense()
Adds license information to the connector.
- Parameters
-
licenseName | A license name. |
licenseKey | A license key. |
- Returns
- Current instance of ConnectorBuilder.
◆ SetPluginsPath()
Defines path to folder with plugins.
- Parameters
-
pluginsPath | A path to folder with plugins. |
- Returns
- Current instance of ConnectorBuilder.
◆ SetRequestConfiguration()
Sets connector's configuration for each request.
- Parameters
-
configurationAction | A configuration action. |
- Returns
- Current instance of ConnectorBuilder.
◆ SetVerboseLogging()
Defines whether enable verbose logging of exceptions.
- Parameters
-
enable | A boolean whether to enable this option. |
- Returns
- Current instance of ConnectorBuilder.
The documentation for this class was generated from the following file: