QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Typedefs | Functions
qgsauthmethodregistry.cpp File Reference
#include "qgsauthmethodregistry.h"
#include <QString>
#include <QDir>
#include <QLibrary>
#include "qgis.h"
#include "qgsauthconfig.h"
#include "qgsauthmethod.h"
#include "qgslogger.h"
#include "qgsmessageoutput.h"
#include "qgsmessagelog.h"
#include "qgsauthmethodmetadata.h"
Include dependency graph for qgsauthmethodregistry.cpp:

Go to the source code of this file.

Typedefs

typedef QgsAuthMethodclassFactoryFunction_t()
 
typedef void cleanupAuthMethod_t()
 
typedef QString description_t()
 
typedef QWidgeteditFactoryFunction_t(QWidget *parent)
 
typedef bool isauthmethod_t()
 
typedef QString methodkey_t()
 

Functions

static QgsAuthMethodMetadatafindMetadata_ (QgsAuthMethodRegistry::AuthMethods const &metaData, QString const &authMethodKey)
 Convenience function for finding any existing auth methods that match "authMethodKey". More...
 

Typedef Documentation

◆ classFactoryFunction_t

typedef QgsAuthMethod* classFactoryFunction_t()

Definition at line 261 of file qgsauthmethodregistry.cpp.

◆ cleanupAuthMethod_t

typedef void cleanupAuthMethod_t()

Definition at line 146 of file qgsauthmethodregistry.cpp.

◆ description_t

typedef QString description_t()

Definition at line 34 of file qgsauthmethodregistry.cpp.

◆ editFactoryFunction_t

typedef QWidget* editFactoryFunction_t(QWidget *parent)

Definition at line 314 of file qgsauthmethodregistry.cpp.

◆ isauthmethod_t

typedef bool isauthmethod_t()

Definition at line 35 of file qgsauthmethodregistry.cpp.

◆ methodkey_t

typedef QString methodkey_t()

Definition at line 33 of file qgsauthmethodregistry.cpp.

Function Documentation

◆ findMetadata_()

static QgsAuthMethodMetadata* findMetadata_ ( QgsAuthMethodRegistry::AuthMethods const &  metaData,
QString const &  authMethodKey 
)
static

Convenience function for finding any existing auth methods that match "authMethodKey".

Necessary because [] map operator will create a QgsProviderMetadata instance. Also you cannot use the map [] operator in const members for that very reason. So there needs to be a convenient way to find an auth method without accidentally adding a null meta data item to the metadata map.

Definition at line 177 of file qgsauthmethodregistry.cpp.