public function spawnUser(LtiLaunchData $ltiContext)
    {
        //@TODO create LtiUser after create and save in db.
        $userId = $ltiContext->getUserID();

        $ltiUser = $this->createLtiUser($ltiContext, $userId);

        $this->updateUser($ltiUser, $ltiContext);

        return $ltiUser;
    }
public function spawnUser(LtiLaunchData $ltiContext)
    {
        //@TODO create LtiUser after create and save in db.
        $userId = $ltiContext->getUserID();

        $ltiUser = $this->createLtiUser($ltiContext, $userId);

        $this->updateUser($ltiUser, $ltiContext);

        return $ltiUser;
    }
public function spawnUser ( LtiLaunchData $ ltiContext ) { //@TODO create LtiUser after create and save in db. $ userId = $ ltiContext -> getUserID ( ) ; $ ltiUser = $ this -> createLtiUser ( $ ltiContext , $ userId ) ; $ this -> updateUser ( $ ltiUser , $ ltiContext ) ; return $ ltiUser ; }
Creates a new LTI User with the absolute minimum of required informations

@param LtiLaunchData $ltiContext
@return LtiUserInterface
@throws \common_Exception
@throws \common_exception_Error
@throws \core_kernel_users_CacheException
@throws \core_kernel_users_Exception
@throws \oat\taoLti\models\classes\LtiVariableMissingException
@throws \Exception
Creates a new LTI User with the absolute minimum of required informations