Skip to content
Permalink
Browse files
some cleanup
  • Loading branch information
3nids committed Jun 23, 2021
1 parent 152b766 commit 7ecfd2348d34370ac142a901bbbaa7ed8c5f2ee8
Showing with 2 additions and 16 deletions.
  1. +2 −16 src/core/auth/qgsauthmethodregistry.h
@@ -54,8 +54,8 @@ class CORE_EXPORT QgsAuthMethodRegistry
//! Virtual dectructor
virtual ~QgsAuthMethodRegistry();

/*
* Returns path for the library of the auth method
/**
* Returns path for the library of the auth method
* \deprecated since QGIS 3.22 - methods may not need to be loaded from a library (empty string returned)
*/
Q_DECL_DEPRECATED QString library( const QString &authMethodKey ) const SIP_DEPRECATED;
@@ -92,26 +92,12 @@ class CORE_EXPORT QgsAuthMethodRegistry
*/
QWidget *editWidget( const QString &authMethodKey, QWidget *parent = nullptr );

// /**
// * Gets pointer to auth method function
// * \param authMethodKey identificator of the auth method
// * \param functionName name of function
// * \returns pointer to function or nullptr on error
// */
// QFunctionPointer function( const QString &authMethodKey,
// const QString &functionName );

// //! Returns the library object associated with an auth method key
// std::unique_ptr< QLibrary > authMethodLibrary( const QString &authMethodKey ) const;

//! Returns list of available auth methods by their keys
QStringList authMethodList() const;

//! Returns metadata of the auth method or NULLPTR if not found
const QgsAuthMethodMetadata *authMethodMetadata( const QString &authMethodKey ) const;

// void registerGuis( QWidget *widget );

//! Type for auth method metadata associative container
typedef std::map<QString, QgsAuthMethodMetadata *> AuthMethods;

0 comments on commit 7ecfd23

Please sign in to comment.