diff options
Diffstat (limited to 'logic/auth/MojangAccount.h')
-rw-r--r-- | logic/auth/MojangAccount.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/logic/auth/MojangAccount.h b/logic/auth/MojangAccount.h index e5684b77..062b8aa2 100644 --- a/logic/auth/MojangAccount.h +++ b/logic/auth/MojangAccount.h @@ -110,13 +110,18 @@ public: * If the user has not chosen to stay logged in, this will be an empty string. */ QString accessToken() const; - + /** * Changes this MojangAccount's access token to the given value. */ void setAccessToken(const QString& token); /** + * Get full session ID + */ + QString sessionId() const; + + /** * Returns a list of the available account profiles. */ const ProfileList profiles() const; |