mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-16 12:09:12 +03:00
17 lines
430 B
Java
17 lines
430 B
Java
|
package ru.gravit.launchserver.config;
|
||
|
|
||
|
import ru.gravit.utils.helper.LogHelper;
|
||
|
import ru.gravit.utils.helper.SecurityHelper;
|
||
|
|
||
|
public class LaunchServerRuntimeConfig {
|
||
|
public String clientToken;
|
||
|
public void verify()
|
||
|
{
|
||
|
if(clientToken == null) LogHelper.error("[RuntimeConfig] clientToken must not be null");
|
||
|
}
|
||
|
public void reset()
|
||
|
{
|
||
|
clientToken = SecurityHelper.randomStringToken();
|
||
|
}
|
||
|
}
|