Add note to use QgsApplication::authManager()

This commit is contained in:
Nyall Dawson 2018-06-03 15:50:23 +10:00
parent 477fb89fdf
commit 9115d7f2f2
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,9 @@ class QgsAuthManager : QObject
%Docstring
Singleton offering an interface to manage the authentication configuration database
and to utilize configurations through various authentication method plugins
QgsAuthManager should not usually be directly created, but rather accessed through
:py:func:`QgsApplication.authManager()`
%End
%TypeHeaderCode

View File

@ -57,6 +57,9 @@ class QTimer;
* \ingroup core
* Singleton offering an interface to manage the authentication configuration database
* and to utilize configurations through various authentication method plugins
*
* QgsAuthManager should not usually be directly created, but rather accessed through
* QgsApplication::authManager().
*/
class CORE_EXPORT QgsAuthManager : public QObject
{