baseDomain === null) { throw new InvalidConfigException('base domain must be specified'); } } /** * @param \yii\base\Application $app the application currently running */ public function bootstrap($app) { $app->getUrlManager()->addRules([ $this->baseDomain . '/' . $this->id . '/auth/' => $this->id . '/authentication/', ], false); } public static function info($message) { Yii::info($message, 'legacy-authserver'); } public static function error($message) { Yii::info($message, 'legacy-authserver'); } }