original_string: function putAuthAttributes()
      {
          if (isset($this->username)) {
              $this->putAttribute(RADIUS_USER_NAME, $this->username);
          }
          if (isset($this->response)) {
              $response = pack('C', $this->chapid) . $this->response;
              $this->putAttribute(RADIUS_CHAP_PASSWORD, $response);
          }
          if (isset($this->challenge)) {
              $this->putAttribute(RADIUS_CHAP_CHALLENGE, $this->challenge);
          }
      }
code: function putAuthAttributes()
      {
          if (isset($this->username)) {
              $this->putAttribute(RADIUS_USER_NAME, $this->username);
          }
          if (isset($this->response)) {
              $response = pack('C', $this->chapid) . $this->response;
              $this->putAttribute(RADIUS_CHAP_PASSWORD, $response);
          }
          if (isset($this->challenge)) {
              $this->putAttribute(RADIUS_CHAP_CHALLENGE, $this->challenge);
          }
      }
code_tokens: function putAuthAttributes ( ) { if ( isset ( $ this -> username ) ) { $ this -> putAttribute ( RADIUS_USER_NAME , $ this -> username ) ; } if ( isset ( $ this -> response ) ) { $ response = pack ( 'C' , $ this -> chapid ) . $ this -> response ; $ this -> putAttribute ( RADIUS_CHAP_PASSWORD , $ response ) ; } if ( isset ( $ this -> challenge ) ) { $ this -> putAttribute ( RADIUS_CHAP_CHALLENGE , $ this -> challenge ) ; } }
docstring: Put CHAP-MD5 specific attributes
  
  For authenticating using CHAP-MD5 via RADIUS you have to put the challenge
  and the response. The chapid is inserted in the first byte of the response.
  
  @return void
docstring_tokens: Put CHAP - MD5 specific attributes