mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 07:09:55 +02:00
Handle socket re-authentication, fix socket toast to be re-usable, socket cleanup
This commit is contained in:
parent
a24dae5262
commit
e201247d69
5 changed files with 66 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue