License management base class.
More...
#include <OpenFlipper/LicenseManager/LicenseManagerActive.hh>
|
|
virtual bool | authenticate () |
| | Function starting the authentication process.
|
| |
|
virtual QString | licenseError () |
| | If authenticate returns fails, this string will contain the license info.
|
| |
License management base class.
See Security/License Interface for Details on how to use it.
The class is used by plugins to integrate license management. It will check the license, generate license requests and prevent the plugin from loading if an invalid license or no license is found.
Definition at line 68 of file LicenseManagerActive.hh.
◆ ~LicenseManager()
| LicenseManager::~LicenseManager |
( |
| ) |
|
|
virtual |
◆ LicenseManager()
| LicenseManager::LicenseManager |
( |
| ) |
|
◆ authenticate
| bool LicenseManager::authenticate |
( |
| ) |
|
|
slot |
Call this function for plugin authentication. If it returns true, the authentication has been successful. Otherwise the core will stop loading the plugin. Additionally the plugin will make itself unusable by not allowing any signal slot connections.
Definition at line 203 of file LicenseManagerActive.cc.
◆ authenticated()
| bool LicenseManager::authenticated |
( |
| ) |
|
|
virtual |
◆ blockSignals()
| void LicenseManager::blockSignals |
( |
bool |
_state | ) |
|
This function is overloaded and will not allow to unblock signals if the plugin is not authenticated.
Definition at line 115 of file LicenseManagerActive.cc.
◆ connectNotify()
| void LicenseManager::connectNotify |
( |
const char * |
signal | ) |
|
|
protected |
This function is overloaded in the security interface. If the plugin is not authenticated, all connections will be automatically removed again.
Definition at line 580 of file LicenseManagerActive.cc.
◆ licenseError
| QString LicenseManager::licenseError |
( |
| ) |
|
|
slot |
if authenticate returns false, this string will contain the license information required to generate a license request and the error that caused the failure.
Definition at line 571 of file LicenseManagerActive.cc.
◆ name()
| virtual QString LicenseManager::name |
( |
| ) |
|
|
privatepure virtual |
This is used to get the plugins Name from derived classes The plugin name is the usual name of the plugin
◆ pluginFileName()
| QString LicenseManager::pluginFileName |
( |
| ) |
|
|
privatevirtual |
◆ timestampOk()
| bool LicenseManager::timestampOk |
( |
| ) |
|
|
private |
◆ authenticated_
| bool LicenseManager::authenticated_ |
|
private |
◆ authstring_
| QString LicenseManager::authstring_ |
|
private |
The documentation for this class was generated from the following files: