qt: default token validity 1 hour

old-commit-hash: b80b33a941
commatwo_master
Willem Melching 5 years ago
parent 5ad8abdc24
commit 1b1b680bc6
  1. 2
      selfdrive/ui/qt/api.hpp

@ -16,7 +16,7 @@ class CommaApi : public QObject {
Q_OBJECT
public:
static QByteArray rsa_sign(QByteArray data);
static QString create_jwt(QVector<QPair<QString, QJsonValue>> payloads, int expiry = 60);
static QString create_jwt(QVector<QPair<QString, QJsonValue>> payloads, int expiry=3600);
static QString create_jwt();
private:
QNetworkAccessManager* networkAccessManager;

Loading…
Cancel
Save