private function addOAuthParams(&$msgParams, SecurityToken $token)
 {
     $msgParams[ShindigOAuth::$OAUTH_TOKEN] = '';
     $domain = $token->getDomain();
     if ($domain != null) {
         $msgParams[ShindigOAuth::$OAUTH_CONSUMER_KEY] = $domain;
     }
     if ($this->keyName != null) {
         $msgParams[SigningFetcher::$XOAUTH_PUBLIC_KEY_OLD] = $this->keyName;
         $msgParams[SigningFetcher::$XOAUTH_PUBLIC_KEY_NEW] = $this->keyName;
     }
     $nonce = ShindigOAuthRequest::generate_nonce();
     $msgParams[ShindigOAuth::$OAUTH_NONCE] = $nonce;
     $timestamp = time();
     $msgParams[ShindigOAuth::$OAUTH_TIMESTAMP] = $timestamp;
     $msgParams[ShindigOAuth::$OAUTH_SIGNATURE_METHOD] = ShindigOAuth::$RSA_SHA1;
 }