[PR #242] [MERGED] Jwtclaims package #2642

Open
opened 2025-11-20 07:12:04 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/242
Author: @mlsmaycon
Created: 2/23/2022
Status: Merged
Merged: 2/23/2022
Merged by: @mlsmaycon

Base: mainHead: jwtclaims-package


📝 Commits (2)

  • f7781da Move JWTClaims logic to its own package
  • 3706b9c Add extractor tests

📊 Changes

7 files changed (+164 additions, -53 deletions)

View changed files

📝 management/server/http/handler/peers.go (+4 -3)
📝 management/server/http/handler/peers_test.go (+4 -3)
📝 management/server/http/handler/setupkeys.go (+3 -2)
📝 management/server/http/handler/util.go (+0 -45)
management/server/jwtclaims/claims.go (+8 -0)
management/server/jwtclaims/extractor.go (+51 -0)
management/server/jwtclaims/extractor_test.go (+94 -0)

📄 Description

  • Moved the jwtClaims code to its own package
  • Renamed types and Functions
  • Add extractor test

🔄 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/netbirdio/netbird/pull/242 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 2/23/2022 **Status:** ✅ Merged **Merged:** 2/23/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `jwtclaims-package` --- ### 📝 Commits (2) - [`f7781da`](https://github.com/netbirdio/netbird/commit/f7781da5f3e1b15b3aa3a0261feebe17498c4c21) Move JWTClaims logic to its own package - [`3706b9c`](https://github.com/netbirdio/netbird/commit/3706b9c72e82b010cb907c52b63de7c457a3a3a5) Add extractor tests ### 📊 Changes **7 files changed** (+164 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/handler/peers.go` (+4 -3) 📝 `management/server/http/handler/peers_test.go` (+4 -3) 📝 `management/server/http/handler/setupkeys.go` (+3 -2) 📝 `management/server/http/handler/util.go` (+0 -45) ➕ `management/server/jwtclaims/claims.go` (+8 -0) ➕ `management/server/jwtclaims/extractor.go` (+51 -0) ➕ `management/server/jwtclaims/extractor_test.go` (+94 -0) </details> ### 📄 Description * Moved the jwtClaims code to its own package * Renamed types and Functions * Add extractor test --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 07:12:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2642