Frontend WIP - just websocket support left
This commit is contained in:
@@ -24,6 +24,7 @@ class Authenticator {
|
||||
|
||||
final iat = DateTime.now().millisecondsSinceEpoch ~/ 1000;
|
||||
final jwt = JWT(
|
||||
header: {'algo': 'HS256'},
|
||||
JWTBody(uuid: newUser.uuid, roomUuid: newUser.gameRoomUuid, iat: iat, exp: iat + expTimeSecs).toJson(),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user