[PR #16] [MERGED] Add Token Refresh to Https Backend #132

Closed
opened 2026-02-27 15:46:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/proxmoxer/proxmoxer/pull/16
Author: @jhollowe
Created: 4/22/2020
Status: Merged
Merged: 5/17/2020
Merged by: @jhollowe

Base: developHead: develop


📝 Commits (8)

  • c31ef3d Add token refresh to https backend
  • 9f115d8 Remove debug print
  • 0ebb6ee Add long_running option to save password for renewal
  • fa6822e Fix use-before-declare error
  • 62303e9 Add limiter to CSRF token injection
  • 3f4b28b Fix ProxmoxHTTPTokenAuth not working
  • ec993c0 Remove long_running preparing for API token
  • af86305 Merge branch 'develop' into develop

📊 Changes

1 file changed (+36 additions, -9 deletions)

View changed files

📝 proxmoxer/backends/https.py (+36 -9)

📄 Description

  • Refactored getting tokens into separate function
  • Added var to store creation time of tokens
  • Added check if the tokens should be refreshed to auth call

Relates: #12 - add automatic http backend session renewal
Solves: #9 - token expiration (http backend)

Thanks to @compilenix for the basis of this PR with their PR #12


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/proxmoxer/proxmoxer/pull/16 **Author:** [@jhollowe](https://github.com/jhollowe) **Created:** 4/22/2020 **Status:** ✅ Merged **Merged:** 5/17/2020 **Merged by:** [@jhollowe](https://github.com/jhollowe) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (8) - [`c31ef3d`](https://github.com/proxmoxer/proxmoxer/commit/c31ef3d9cbcb21bc024280c43a520281c1b0471c) Add token refresh to https backend - [`9f115d8`](https://github.com/proxmoxer/proxmoxer/commit/9f115d8055f38d0b595f58a85dc89904c8b862b8) Remove debug print - [`0ebb6ee`](https://github.com/proxmoxer/proxmoxer/commit/0ebb6eef59848db36563a42c0b6e413f452cfe88) Add long_running option to save password for renewal - [`fa6822e`](https://github.com/proxmoxer/proxmoxer/commit/fa6822eb5a5433894a46d62277ea07b8bf2e9a3a) Fix use-before-declare error - [`62303e9`](https://github.com/proxmoxer/proxmoxer/commit/62303e937eda1b04a5c983ae36b140ddd777037a) Add limiter to CSRF token injection - [`3f4b28b`](https://github.com/proxmoxer/proxmoxer/commit/3f4b28b7784ea29ac966c32691bd9dbf02d07332) Fix ProxmoxHTTPTokenAuth not working - [`ec993c0`](https://github.com/proxmoxer/proxmoxer/commit/ec993c06ac52c181b0f5f7195be176bc566bb252) Remove long_running preparing for API token - [`af86305`](https://github.com/proxmoxer/proxmoxer/commit/af86305006627c99c016cd6dae79731fea2472f8) Merge branch 'develop' into develop ### 📊 Changes **1 file changed** (+36 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `proxmoxer/backends/https.py` (+36 -9) </details> ### 📄 Description * Refactored getting tokens into separate function * Added var to store creation time of tokens * Added check if the tokens should be refreshed to auth call Relates: #12 - add automatic http backend session renewal Solves: #9 - token expiration (http backend) Thanks to @compilenix for the basis of this PR with their PR #12 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:46:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmoxer#132
No description provided.