signed method
Implementation
Future<Response?> signed(Request req, user) async {
if (user == null) {
return await HttpResponseSender.sendError(
req,
UnauthorizedException(null, 'NOT_SIGNED',
'User must be signed in to perform this operation')
.withStatus(401));
}
}