mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
pass is a reserved keyword in python, use password instead
This commit is contained in:
parent
502ad84f83
commit
be5877d517
@ -122,7 +122,7 @@ Main call to initially set or continually check master password is set
|
||||
:param verify: Whether password's hash was saved in authentication database
|
||||
%End
|
||||
|
||||
bool setMasterPassword( const QString &pass, bool verify = false );
|
||||
bool setMasterPassword( const QString &password, bool verify = false );
|
||||
%Docstring
|
||||
Overloaded call to reset master password or set it initially without user interaction
|
||||
|
||||
@ -130,7 +130,7 @@ Overloaded call to reset master password or set it initially without user intera
|
||||
|
||||
Only use this in trusted reset functions, unit tests or user/app setup scripts!
|
||||
|
||||
:param pass: Password to use
|
||||
:param password: Password to use
|
||||
:param verify: Whether password's hash was saved in authentication database
|
||||
%End
|
||||
|
||||
@ -164,11 +164,11 @@ Clear supplied master password
|
||||
This will not necessarily clear authenticated connections cached in network connection managers
|
||||
%End
|
||||
|
||||
bool masterPasswordSame( const QString &pass ) const;
|
||||
bool masterPasswordSame( const QString &password ) const;
|
||||
%Docstring
|
||||
Check whether supplied password is the same as the one already set
|
||||
|
||||
:param pass: Password to verify
|
||||
:param password: Password to verify
|
||||
%End
|
||||
|
||||
bool resetMasterPassword( const QString &newpass, const QString &oldpass, bool keepbackup, QString *backuppath /In,Out/ = 0 );
|
||||
|
@ -122,7 +122,7 @@ Main call to initially set or continually check master password is set
|
||||
:param verify: Whether password's hash was saved in authentication database
|
||||
%End
|
||||
|
||||
bool setMasterPassword( const QString &pass, bool verify = false );
|
||||
bool setMasterPassword( const QString &password, bool verify = false );
|
||||
%Docstring
|
||||
Overloaded call to reset master password or set it initially without user interaction
|
||||
|
||||
@ -130,7 +130,7 @@ Overloaded call to reset master password or set it initially without user intera
|
||||
|
||||
Only use this in trusted reset functions, unit tests or user/app setup scripts!
|
||||
|
||||
:param pass: Password to use
|
||||
:param password: Password to use
|
||||
:param verify: Whether password's hash was saved in authentication database
|
||||
%End
|
||||
|
||||
@ -164,11 +164,11 @@ Clear supplied master password
|
||||
This will not necessarily clear authenticated connections cached in network connection managers
|
||||
%End
|
||||
|
||||
bool masterPasswordSame( const QString &pass ) const;
|
||||
bool masterPasswordSame( const QString &password ) const;
|
||||
%Docstring
|
||||
Check whether supplied password is the same as the one already set
|
||||
|
||||
:param pass: Password to verify
|
||||
:param password: Password to verify
|
||||
%End
|
||||
|
||||
bool resetMasterPassword( const QString &newpass, const QString &oldpass, bool keepbackup, QString *backuppath /In,Out/ = 0 );
|
||||
|
@ -146,10 +146,10 @@ class CORE_EXPORT QgsAuthManager : public QObject
|
||||
/**
|
||||
* Overloaded call to reset master password or set it initially without user interaction
|
||||
* \note Only use this in trusted reset functions, unit tests or user/app setup scripts!
|
||||
* \param pass Password to use
|
||||
* \param password Password to use
|
||||
* \param verify Whether password's hash was saved in authentication database
|
||||
*/
|
||||
bool setMasterPassword( const QString &pass, bool verify = false );
|
||||
bool setMasterPassword( const QString &password, bool verify = false );
|
||||
|
||||
/**
|
||||
* Verify the supplied master password against any existing hash in authentication database
|
||||
@ -172,9 +172,9 @@ class CORE_EXPORT QgsAuthManager : public QObject
|
||||
|
||||
/**
|
||||
* Check whether supplied password is the same as the one already set
|
||||
* \param pass Password to verify
|
||||
* \param password Password to verify
|
||||
*/
|
||||
bool masterPasswordSame( const QString &pass ) const;
|
||||
bool masterPasswordSame( const QString &password ) const;
|
||||
|
||||
/**
|
||||
* Reset the master password to a new one, then re-encrypt all previous
|
||||
|
Loading…
x
Reference in New Issue
Block a user