5 #include <Quotient/jobs/basejob.h>
21 explicit RegistrationTokenValidityJob(
const QString& token);
27 static QUrl makeRequestUrl(
const HomeserverData& hsData,
const QString& token);
34 bool valid()
const {
return loadFromJson<
bool>(
"valid"_L1); }
37 inline auto collectResponse(
const RegistrationTokenValidityJob* job) {
return job->valid(); }