authentication with cookies.

This commit is contained in:
Miroslav Šedivý
2021-01-29 23:14:59 +01:00
parent a5a82077c5
commit eac56533e6
4 changed files with 74 additions and 25 deletions

View File

@ -11,6 +11,7 @@ export default interface State {
// Connection
/////////////////////////////
export interface Connection {
authenticated: boolean
websocket: 'disconnected' | 'connecting' | 'connected'
webrtc: 'disconnected' | 'connecting' | 'connected'
type: 'webrtc' | 'fallback' | 'none'