Refactoring reset and session tokens, currently broken.

This commit is contained in:
2025-07-15 04:10:02 +00:00
parent 158115f172
commit 6a2c6f7ed0
11 changed files with 786 additions and 330 deletions
+3
View File
@@ -24,6 +24,9 @@ export async function registerCredential() {
export async function registerWithToken(token) {
return register('/auth/ws/add_device_credential', { token })
}
export async function registerWithSession() {
return register('/auth/ws/add_device_credential_session')
}
export async function authenticateUser() {
const ws = await aWebSocket('/auth/ws/authenticate')