public static function getInstance()
    {
        if(!isset(self::$_instance))
        {
            /** @var User $user */
            $user = Yii::$app->user;
            if(isset($user->authClientConfig) && isset($user->authClientConfig['collection']) && isset($user->authClientConfig['id']))
            {
                /** @var Collection $collection */
                $collection = Yii::$app->get($user->authClientConfig['collection']);
                if($collection->hasClient($user->authClientConfig['id']))
                {
                    self::$_instance = $collection->getClient($user->authClientConfig['id']);
                }
            }
        }

        return self::$_instance;
    }