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

18 lines
457 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 String oemUnlockKey;
2019-05-15 14:11:22 +03:00
public void verify() {
if (clientToken == null) LogHelper.error("[RuntimeConfig] clientToken must not be null");
2019-04-12 00:58:45 +03:00
}
2019-05-15 14:11:22 +03:00
public void reset() {
2019-04-12 00:58:45 +03:00
clientToken = SecurityHelper.randomStringToken();
}
}