original_string: public function regenerateTokenAuth($userLogin)
      {
          $this->checkUserIsNotAnonymous($userLogin);
  
          Piwik::checkUserHasSuperUserAccessOrIsTheUser($userLogin);
  
          $this->model->updateUserTokenAuth(
              $userLogin,
              $this->createTokenAuth($userLogin)
          );
      }
code: public function regenerateTokenAuth($userLogin)
      {
          $this->checkUserIsNotAnonymous($userLogin);
  
          Piwik::checkUserHasSuperUserAccessOrIsTheUser($userLogin);
  
          $this->model->updateUserTokenAuth(
              $userLogin,
              $this->createTokenAuth($userLogin)
          );
      }
code_tokens: public function regenerateTokenAuth ( $ userLogin ) { $ this -> checkUserIsNotAnonymous ( $ userLogin ) ; Piwik :: checkUserHasSuperUserAccessOrIsTheUser ( $ userLogin ) ; $ this -> model -> updateUserTokenAuth ( $ userLogin , $ this -> createTokenAuth ( $ userLogin ) ) ; }
docstring: Regenerate the token_auth associated with a user.
  
  If the user currently logged in regenerates his own token, he will be logged out.
  His previous token will be rendered invalid.
  
  @param   string  $userLogin
  @throws  Exception
docstring_tokens: Regenerate the token_auth associated with a user .