txtcord/utils/pendingauthobject.cpp

27 lines
653 B
C++
Raw Permalink Normal View History

2024-08-15 12:23:36 -04:00
#include "pendingauthobject.h"
PendingAuthObject::PendingAuthObject(QString email, QString password, QString token) {
this->email = email;
this->password = password;
this->twofaToken = token;
}
QString PendingAuthObject::getEmail() {
return email;
}
QString PendingAuthObject::getPassword() {
return password;
}
QString PendingAuthObject::get2faToken() {
return twofaToken;
}
void PendingAuthObject::setEmail(QString email) {
this->email = email;
}
void PendingAuthObject::setPassword(QString password) {
this->password = password;
}
void PendingAuthObject::set2faToken(QString token) {
this->twofaToken = token;
}