30#ifndef JELLYFIN_DTO_AUTHENTICATIONRESULT_H
31#define JELLYFIN_DTO_AUTHENTICATIONRESULT_H
35#include <QSharedPointer>
54 QSharedPointer<UserDto>
user,
67 QJsonObject
toJson()
const;
71 QSharedPointer<UserDto>
user()
const;
73 void setUser(QSharedPointer<UserDto> newUser);
96 QSharedPointer<UserDto>
m_user = QSharedPointer<UserDto>();
97 QSharedPointer<SessionInfo>
m_sessionInfo = QSharedPointer<SessionInfo>();
Definition authenticationresult.h:51
void setSessionInfo(QSharedPointer< SessionInfo > newSessionInfo)
Definition authenticationresult.cpp:101
void setAccessTokenNull()
Definition authenticationresult.cpp:114
QSharedPointer< SessionInfo > m_sessionInfo
Definition authenticationresult.h:97
void setUser(QSharedPointer< UserDto > newUser)
Definition authenticationresult.cpp:95
bool accessTokenNull() const
Definition authenticationresult.cpp:110
QSharedPointer< SessionInfo > sessionInfo() const
Definition authenticationresult.cpp:99
static AuthenticationResult fromJson(QJsonObject source)
Definition authenticationresult.cpp:60
void setAccessToken(QString newAccessToken)
Definition authenticationresult.cpp:107
QSharedPointer< UserDto > user() const
Definition authenticationresult.cpp:93
QString m_serverId
Definition authenticationresult.h:99
void setFromJson(QJsonObject source)
Definition authenticationresult.cpp:67
QString m_accessToken
Definition authenticationresult.h:98
void setServerId(QString newServerId)
Definition authenticationresult.cpp:120
void replaceData(AuthenticationResult &other)
Definition authenticationresult.cpp:53
QJsonObject toJson() const
Definition authenticationresult.cpp:75
QString serverId() const
Definition authenticationresult.cpp:118
QSharedPointer< UserDto > m_user
Definition authenticationresult.h:96
QString accessToken() const
Definition authenticationresult.cpp:105
bool serverIdNull() const
Definition authenticationresult.cpp:123
void setServerIdNull()
Definition authenticationresult.cpp:127
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45