Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
some cleanup
  • Loading branch information
3nids committed Jun 23, 2021
1 parent 152b766 commit 7ecfd23
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions src/core/auth/qgsauthmethodregistry.h
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 7ecfd23

Please sign in to comment.