mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-05 02:02:33 -07:00
WebService: Verify username and token (#2930)
* WebService: Verify username and token; Log errors in PostJson * Fixup: added docstrings to the functions * Webservice: Added Icons to the verification, imrpved error detection in cpr, fixup nits * fixup: fmt warning
This commit is contained in:
@@ -162,6 +162,8 @@ void Config::ReadValues() {
|
||||
sdl2_config->GetBoolean("WebService", "enable_telemetry", true);
|
||||
Settings::values.telemetry_endpoint_url = sdl2_config->Get(
|
||||
"WebService", "telemetry_endpoint_url", "https://services.citra-emu.org/api/telemetry");
|
||||
Settings::values.verify_endpoint_url = sdl2_config->Get(
|
||||
"WebService", "verify_endpoint_url", "https://services.citra-emu.org/api/profile");
|
||||
Settings::values.citra_username = sdl2_config->Get("WebService", "citra_username", "");
|
||||
Settings::values.citra_token = sdl2_config->Get("WebService", "citra_token", "");
|
||||
}
|
||||
|
@@ -185,6 +185,8 @@ gdbstub_port=24689
|
||||
enable_telemetry =
|
||||
# Endpoint URL for submitting telemetry data
|
||||
telemetry_endpoint_url = https://services.citra-emu.org/api/telemetry
|
||||
# Endpoint URL to verify the username and token
|
||||
verify_endpoint_url = https://services.citra-emu.org/api/profile
|
||||
# Username and token for Citra Web Service
|
||||
# See https://services.citra-emu.org/ for more info
|
||||
citra_username =
|
||||
|
Reference in New Issue
Block a user