Launcher/LaunchServer/src/main/java/ru/gravit/launchserver/config/LaunchServerRuntimeConfig.java

17 lines
430 B
Java
Raw Normal View History

2019-04-12 00:58:45 +03:00
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();
}
}