Maintains a list of authentication providers.
More...
#include <Authentication/Common/providermanager.h>
◆ ProviderManager()
◆ addProvider()
Adds a Provider to the provider collection.
- Parameters
-
◆ count()
Returns a count of the Providers in the collection.
- Returns
- A count of Providers in the collection.
◆ empty()
Indicates if the Provider collection is empty or not.
- Returns
- Returns true if the provider collection is empty.
◆ getByName()
Provider * getByName |
( |
const QString & |
name | ) |
const |
Returns the provider with the specified name or null if none exists.
- Returns
- A provider with the specified name.
◆ getFrameworkVersion()
QString getFrameworkVersion |
( |
| ) |
|
|
static |
Returns the version of the authentication framework.
- Returns
- The authentication framework version.
◆ getInstance()
◆ load()
Used to load all installed providers. Now it's deprecated.
- Parameters
-
paths | A list of paths to scan for authentication providers. |
- See also
- ProviderManager::addProvider(SchedulerProvider&), ProviderManager::removeProvider(SchedulerProvider&)
◆ operator=()
◆ operator[]()
Returns the Provider at the provided index.
- Returns
- Returns the provider at the specified index.
◆ removeProvider()
void removeProvider |
( |
Provider & |
provider | ) |
|
Removes a Provider from the provider collection.
- Parameters
-
provider | The Provider to remove from the collection. |