Mostly working websocket stuff, some message weirdness at the moment...

This commit is contained in:
Nate Anderson
2025-02-10 18:55:15 -07:00
parent 623474e0c6
commit b37862a321
19 changed files with 543 additions and 87 deletions
+4 -1
View File
@@ -6,10 +6,13 @@ part 'jwt.g.dart';
class JWTBody {
String uuid;
String roomUuid;
String roomCode;
// Issued at in epoch seconds
int iat;
// Expires at in epoch seconds
int exp;
JWTBody({required this.uuid, required this.roomUuid, required this.iat, required this.exp});
JWTBody({required this.uuid, required this.roomUuid, required this.roomCode, required this.iat, required this.exp});
factory JWTBody.fromJson(Map<String, dynamic> json) => _$JWTBodyFromJson(json);