more changes

This commit is contained in:
kdeng00
2019-08-17 18:53:50 -04:00
parent 9ae9b08520
commit 5230e69832
7 changed files with 113 additions and 12 deletions
+20
View File
@@ -1,6 +1,8 @@
#ifndef MODELS_H_
#define MODELS_H_
#include <string>
struct Song
{
int Id;
@@ -30,6 +32,24 @@ struct LoginRes
int Expiration;
};
struct loginResult
{
int user_id;
std::string username;
std::string access_token;
std::string token_type;
std::string message;
int expiration;
};
struct auth_credentials
{
std::string domain;
std::string api_identifier;
std::string client_id;
std::string client_secret;
};
struct TokenReq
{
char ClientId[1024];