mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-06 21:05:24 +02:00
Handle socket re-authentication, fix socket toast to be re-usable, socket cleanup
This commit is contained in:
@@ -1054,6 +1054,8 @@ class Auth {
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user