Skip to content
Permalink
Browse files
fix auth manager bindings without gui
  • Loading branch information
3nids committed Jun 24, 2021
1 parent 437b3ef commit cfb42417670ffbff8becce9ac0ff5a3d66dedbc1
Showing with 4 additions and 0 deletions.
  1. +2 −0 python/core/auto_generated/auth/qgsauthmanager.sip.in
  2. +2 −0 src/core/auth/qgsauthmanager.h
@@ -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 );
@@ -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

/**

0 comments on commit cfb4241

Please sign in to comment.