Skip to content

Commit 9115d7f

Browse files
committed
Add note to use QgsApplication::authManager()
1 parent 477fb89 commit 9115d7f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

python/core/auto_generated/auth/qgsauthmanager.sip.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class QgsAuthManager : QObject
1818
%Docstring
1919
Singleton offering an interface to manage the authentication configuration database
2020
and to utilize configurations through various authentication method plugins
21+
22+
QgsAuthManager should not usually be directly created, but rather accessed through
23+
:py:func:`QgsApplication.authManager()`
2124
%End
2225

2326
%TypeHeaderCode

src/core/auth/qgsauthmanager.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ class QTimer;
5757
* \ingroup core
5858
* Singleton offering an interface to manage the authentication configuration database
5959
* and to utilize configurations through various authentication method plugins
60+
*
61+
* QgsAuthManager should not usually be directly created, but rather accessed through
62+
* QgsApplication::authManager().
6063
*/
6164
class CORE_EXPORT QgsAuthManager : public QObject
6265
{

0 commit comments

Comments
 (0)