Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
s/authentification/authentication
  • Loading branch information
troopa81 committed Jul 30, 2021
1 parent 3ab2a21 commit 4bd9170
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Expand Up @@ -33,7 +33,7 @@ Unique identifier of the external storage type.

virtual QgsExternalStorageStoredContent *store( const QString &filePath, const QString &url, const QString &authcfg = QString() ) const = 0 /Factory/;
%Docstring
Store file ``filePath`` to the ``url`` for this project external storage.
Stores file ``filePath`` to the ``url`` for this project external storage.
Storing process is run in background.
Returns a :py:class:`QgsExternalStorageStoredContent` to follow the status of the stored resource.

Expand All @@ -42,14 +42,14 @@ After using this method, user should check if the returned content is not alread
for :py:func:`QgsExternalStorageStoredContent.stored()`, :py:func:`QgsExternalStorageStoredContent.errorOccurred()` or
:py:func:`QgsExternalStorageStoredContent.canceled()` signals.

It's possible to give ``authcfg`` authentification configuration id in case its needed.
It's possible to give ``authcfg`` authentication configuration id in case its needed.

Caller takes ownership of the returned symbol.
%End

virtual QgsExternalStorageFetchedContent *fetch( const QString &url, const QString &authcfg = QString() ) const = 0 /Factory/;
%Docstring
Fetch file from ``url`` for this project external storage.
Fetches file from ``url`` for this project external storage.
Fetching process is run in background.
Returns a :py:class:`QgsExternalStorageFetchedContent` to follow the status of the fetched resource.

Expand All @@ -58,7 +58,7 @@ After using this method, user should check if the returned content is not alread
and then wait for :py:func:`QgsExternalStorageStoredContent.fetched()`, :py:func:`QgsExternalStorageStoredContent.errorOccurred()` or
:py:func:`QgsExternalStorageStoredContent.canceled()` signals.

It's possible to give ``authcfg`` authentification configuration id in case its needed.
It's possible to give ``authcfg`` authentication configuration id in case its needed.
%End
};

Expand Down Expand Up @@ -89,7 +89,7 @@ Returns error textual description if an error occured and :py:func:`~QgsExternal

virtual void cancel();
%Docstring
Cancel content fetching/storing
Cancels content fetching/storing
%End
signals:

Expand Down Expand Up @@ -134,7 +134,7 @@ Class for :py:class:`QgsExternalStorage` fetched content

virtual QString filePath() const = 0;
%Docstring
Return fetched resource file path
Returns fetched resource file path
%End

signals:
Expand All @@ -160,7 +160,7 @@ Class for :py:class:`QgsExternalStorage` stored content

virtual QString url() const = 0;
%Docstring
Return stored resource URL
Returns stored resource URL
%End

signals:
Expand Down
4 changes: 2 additions & 2 deletions src/core/externalstorage/qgsexternalstorage.h
Expand Up @@ -57,7 +57,7 @@ class CORE_EXPORT QgsExternalStorage
* for QgsExternalStorageStoredContent::stored(), QgsExternalStorageStoredContent::errorOccurred() or
* QgsExternalStorageStoredContent::canceled() signals.
*
* It's possible to give \a authcfg authentification configuration id in case its needed.
* It's possible to give \a authcfg authentication configuration id in case its needed.
*
* Caller takes ownership of the returned symbol.
*/
Expand All @@ -73,7 +73,7 @@ class CORE_EXPORT QgsExternalStorage
* and then wait for QgsExternalStorageStoredContent::fetched(), QgsExternalStorageStoredContent::errorOccurred() or
* QgsExternalStorageStoredContent::canceled() signals.
*
* It's possible to give \a authcfg authentification configuration id in case its needed.
* It's possible to give \a authcfg authentication configuration id in case its needed.
*/
virtual QgsExternalStorageFetchedContent *fetch( const QString &url, const QString &authcfg = QString() ) const = 0 SIP_FACTORY;
};
Expand Down

0 comments on commit 4bd9170

Please sign in to comment.