Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix auth manager bindings without gui
  • Loading branch information
3nids committed Jun 24, 2021
1 parent 437b3ef commit cfb4241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/auto_generated/auth/qgsauthmanager.sip.in
Expand Up @@ -219,13 +219,15 @@ Gets authentication method from the config/provider cache via its key



%If (HAVE_GUI)

QWidget *authMethodEditWidget( const QString &authMethodKey, QWidget *parent );
%Docstring
Gets authentication method edit widget via its key

:param authMethodKey: Authentication method key
:param parent: Parent widget
%End
%End

QgsAuthMethod::Expansions supportedAuthMethodExpansions( const QString &authcfg );
Expand Down
2 changes: 2 additions & 0 deletions src/core/auth/qgsauthmanager.h
Expand Up @@ -245,13 +245,15 @@ class CORE_EXPORT QgsAuthManager : public QObject
QgsAuthMethodsMap authMethodsMap( const QString &dataprovider = QString() ) SIP_SKIP;

#ifdef HAVE_GUI
SIP_IF_FEATURE( HAVE_GUI )

/**
* Gets authentication method edit widget via its key
* \param authMethodKey Authentication method key
* \param parent Parent widget
*/
QWidget *authMethodEditWidget( const QString &authMethodKey, QWidget *parent );
SIP_END
#endif

/**
Expand Down

0 comments on commit cfb4241

Please sign in to comment.