web_backend: User config for username and token, support anonymous post.

This commit is contained in:
bunnei 2017-08-22 23:06:56 -04:00
parent 40f417125b
commit 41328afb58
2 changed files with 18 additions and 41 deletions

View file

@ -9,18 +9,6 @@
namespace WebService {
/**
* Gets the current username for accessing services.citra-emu.org.
* @returns Username as a string, empty if not set.
*/
const std::string& GetUsername();
/**
* Gets the current token for accessing services.citra-emu.org.
* @returns Token as a string, empty if not set.
*/
const std::string& GetToken();
/**
* Posts JSON to services.citra-emu.org.
* @param url URL of the services.citra-emu.org endpoint to post data to.