17 #ifndef QGSAUTHMETHODREGISTRY_H
18 #define QGSAUTHMETHODREGISTRY_H
28 #include "qgis_core.h"
57 QString library(
const QString &authMethodKey )
const;
60 QString pluginList(
bool asHtml =
false )
const;
63 QDir libraryDirectory()
const;
66 void setLibraryDirectory(
const QDir &path );
73 std::unique_ptr< QgsAuthMethod > authMethod(
const QString &authMethodKey );
89 QWidget *editWidget(
const QString &authMethodKey, QWidget *parent =
nullptr );
97 QFunctionPointer
function(
const QString &authMethodKey,
98 const QString &functionName );
101 std::unique_ptr< QLibrary > authMethodLibrary(
const QString &authMethodKey )
const;
104 QStringList authMethodList()
const;
122 QDir mLibraryDirectory;
A registry / canonical manager of authentication methods.
std::map< QString, QgsAuthMethodMetadata * > AuthMethods
Type for auth method metadata associative container.
Abstract base class for authentication method plugins.