Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Apr 22, 2021
1 parent 584283d commit 0a76d70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Expand Up @@ -325,12 +325,20 @@ The contents of the reply will be returned after the request is completed or an
%Docstring
Forwards an external browser login ``url`` opening request to the authentication handler.

.. note::

If called by a background thread, the request will be forwarded to the network manager on the main thread.

.. versionadded:: 3.20
%End

void requestAuthCloseBrowser() const;
%Docstring
Forwards an external browser login closure equest to the authentication handler.
Forwards an external browser login closure request to the authentication handler.

.. note::

If called by a background thread, the request will be forwarded to the network manager on the main thread.

.. versionadded:: 3.20
%End
Expand Down
4 changes: 3 additions & 1 deletion src/core/network/qgsnetworkaccessmanager.h
Expand Up @@ -516,13 +516,15 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
/**
* Forwards an external browser login \a url opening request to the authentication handler.
*
* \note If called by a background thread, the request will be forwarded to the network manager on the main thread.
* \since QGIS 3.20
*/
void requestAuthOpenBrowser( const QUrl &url ) const;

/**
* Forwards an external browser login closure equest to the authentication handler.
* Forwards an external browser login closure request to the authentication handler.
*
* \note If called by a background thread, the request will be forwarded to the network manager on the main thread.
* \since QGIS 3.20
*/
void requestAuthCloseBrowser() const;
Expand Down

0 comments on commit 0a76d70

Please sign in to comment.