getHost static method

String getHost(
  1. Config config
)

Implementation

static String getHost(Config config) {
  if (Util.isIP(Authing.sHost)) {
    return Authing.sHost;
  } else {
    return config.identifier + ".authing.cn";
  }
}