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 );
86 QWidget *editWidget(
const QString &authMethodKey, QWidget *parent =
nullptr );
94 QFunctionPointer
function(
const QString &authMethodKey,
95 const QString &functionName );
98 std::unique_ptr< QLibrary > authMethodLibrary(
const QString &authMethodKey )
const;
101 QStringList authMethodList()
const;
116 AuthMethods mAuthMethods;
119 QDir mLibraryDirectory;
122 #endif // QGSAUTHMETHODREGISTRY_H
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.