mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Make SasToken::isValid() const
This commit is contained in:
parent
b81d9d7c13
commit
72ee36b84c
@ -57,7 +57,7 @@ class QgsAuthPlanetaryComputerMethod : public QgsAuthMethod
|
||||
private:
|
||||
struct SasToken
|
||||
{
|
||||
bool isValid() { return !token.isEmpty() && !( expiry < QDateTime::currentDateTimeUtc().addSecs( 300 ) ); }
|
||||
bool isValid() const { return !token.isEmpty() && !( expiry < QDateTime::currentDateTimeUtc().addSecs( 300 ) ); }
|
||||
QDateTime expiry;
|
||||
QString token;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user