Add support that API-Keys authenticate sockets

This commit is contained in:
Finn Dittmar 2026-01-09 20:45:48 +01:00
parent 122fc34a75
commit dfce15a74c
No known key found for this signature in database
GPG key ID: A630219F715A1D1E
2 changed files with 44 additions and 9 deletions

View file

@ -68,7 +68,6 @@ class TokenManager {
/**
* Function to validate a jwt token for a given user
* Used to authenticate socket connections
* TODO: Support API keys for web socket connections
*
* @param {string} token
* @returns {Object} tokens data