mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-18 22:14:23 +01:00
Add a UUID to auth tokens for private websocket event signing
This commit is contained in:
@@ -27,7 +27,9 @@ import { requireAuth, setAuth } from './middleware/auth.ts';
|
||||
|
||||
interface AppEnv extends HonoEnv {
|
||||
Variables: {
|
||||
/** Hex pubkey for the current user. If provided, the user is considered "logged in." */
|
||||
pubkey?: string;
|
||||
/** Hex secret key for the current user. Optional, but easiest way to use legacy Mastodon apps. */
|
||||
seckey?: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user