public function setAuthClass($class)
  {
    $prev = $this->configuration['auth_class'];
    if (!isset($this->configuration['classes'][$class]) &&
        isset($this->configuration['classes'][$prev])) {
      $this->configuration['classes'][$class] =
          $this->configuration['classes'][$prev];
    }
    $this->configuration['auth_class'] = $class;
  }
public function setAuthClass($class)
  {
    $prev = $this->configuration['auth_class'];
    if (!isset($this->configuration['classes'][$class]) &&
        isset($this->configuration['classes'][$prev])) {
      $this->configuration['classes'][$class] =
          $this->configuration['classes'][$prev];
    }
    $this->configuration['auth_class'] = $class;
  }
public function setAuthClass ( $ class ) { $ prev = $ this -> configuration [ 'auth_class' ] ; if ( ! isset ( $ this -> configuration [ 'classes' ] [ $ class ] ) && isset ( $ this -> configuration [ 'classes' ] [ $ prev ] ) ) { $ this -> configuration [ 'classes' ] [ $ class ] = $ this -> configuration [ 'classes' ] [ $ prev ] ; } $ this -> configuration [ 'auth_class' ] = $ class ; }
Set the auth class.

@param $class string the class name to set
Set the auth class .