![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <authenticationresult.h>
Public Member Functions | |
| AuthenticationResult (QSharedPointer< UserDto > user, QSharedPointer< SessionInfoDto > sessionInfo) | |
| AuthenticationResult (const AuthenticationResult &other) | |
| void | replaceData (AuthenticationResult &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QSharedPointer< UserDto > | user () const |
| void | setUser (QSharedPointer< UserDto > newUser) |
| QSharedPointer< SessionInfoDto > | sessionInfo () const |
| void | setSessionInfo (QSharedPointer< SessionInfoDto > newSessionInfo) |
| QString | accessToken () const |
| Gets or sets the access token. | |
| void | setAccessToken (QString newAccessToken) |
| Gets or sets the access token. | |
| bool | accessTokenNull () const |
| void | setAccessTokenNull () |
| QString | serverId () const |
| Gets or sets the server id. | |
| void | setServerId (QString newServerId) |
| Gets or sets the server id. | |
| bool | serverIdNull () const |
| void | setServerIdNull () |
Static Public Member Functions | |
| static AuthenticationResult | fromJson (QJsonObject source) |
Protected Attributes | |
| QSharedPointer< UserDto > | m_user = QSharedPointer<UserDto>() |
| QSharedPointer< SessionInfoDto > | m_sessionInfo = QSharedPointer<SessionInfoDto>() |
| QString | m_accessToken |
| QString | m_serverId |
| Jellyfin::DTO::AuthenticationResult::AuthenticationResult | ( | QSharedPointer< UserDto > | user, |
| QSharedPointer< SessionInfoDto > | sessionInfo ) |
| Jellyfin::DTO::AuthenticationResult::AuthenticationResult | ( | const AuthenticationResult & | other | ) |
| QString Jellyfin::DTO::AuthenticationResult::accessToken | ( | ) | const |
Gets or sets the access token.
| bool Jellyfin::DTO::AuthenticationResult::accessTokenNull | ( | ) | const |
|
static |
| void Jellyfin::DTO::AuthenticationResult::replaceData | ( | AuthenticationResult & | other | ) |
Replaces the data being hold by this class with that of the other.
| QString Jellyfin::DTO::AuthenticationResult::serverId | ( | ) | const |
Gets or sets the server id.
| bool Jellyfin::DTO::AuthenticationResult::serverIdNull | ( | ) | const |
| QSharedPointer< SessionInfoDto > Jellyfin::DTO::AuthenticationResult::sessionInfo | ( | ) | const |
| void Jellyfin::DTO::AuthenticationResult::setAccessToken | ( | QString | newAccessToken | ) |
Gets or sets the access token.
| void Jellyfin::DTO::AuthenticationResult::setAccessTokenNull | ( | ) |
| void Jellyfin::DTO::AuthenticationResult::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::AuthenticationResult::setServerId | ( | QString | newServerId | ) |
Gets or sets the server id.
| void Jellyfin::DTO::AuthenticationResult::setServerIdNull | ( | ) |
| void Jellyfin::DTO::AuthenticationResult::setSessionInfo | ( | QSharedPointer< SessionInfoDto > | newSessionInfo | ) |
| void Jellyfin::DTO::AuthenticationResult::setUser | ( | QSharedPointer< UserDto > | newUser | ) |
| QJsonObject Jellyfin::DTO::AuthenticationResult::toJson | ( | ) | const |
| QSharedPointer< UserDto > Jellyfin::DTO::AuthenticationResult::user | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |