database stuff
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef TOKEN_MANAGER_H_
|
||||
#define TOKEN_MANAGER_H_
|
||||
|
||||
#include <string_view>
|
||||
|
||||
#include "models.h"
|
||||
|
||||
class token_manager
|
||||
@@ -9,10 +11,9 @@ public:
|
||||
token_manager();
|
||||
|
||||
loginResult retrieve_token();
|
||||
|
||||
//LoginRes* retrieve_token(TokenReq *tok);
|
||||
loginResult retrieve_token(std::string_view);
|
||||
private:
|
||||
auth_credentials parse_auth_credentials();
|
||||
auth_credentials parse_auth_credentials(std::string_view);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user