This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-08-04 13:54:30 +02:00

47 lines
725 B
C++

#include "authenticationreply.h"
#include "authentication/authenticator.h"
AuthenticationReply::AuthenticationReply(const QUuid clientId, const QString &token, QObject *parent) :
QObject(parent),
m_clientId(clientId),
m_token(token)
{
}
QUuid AuthenticationReply::clientId() const
{
return m_clientId;
}
QString AuthenticationReply::token() const
{
return m_token;
}
bool AuthenticationReply::isTimedOut() const
{
return m_timedOut;
}
bool AuthenticationReply::isFinished() const
{
return m_finished;
}
void AuthenticationReply::setError(Authenticator::AuthenticationError error)
{
m_error = error;
}
void AuthenticationReply::onTimeout()
{
}
void AuthenticationReply::abort()
{
}