Mostly working websocket stuff, some message weirdness at the moment...
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user