/**
  * Declares class-based actions.
  */
 public function actions()
 {
     return CMap::mergeArray(parent::actions(), array('oauth' => array('class' => 'ext.hoauth.HOAuthAction', 'alwaysCheckPass' => true, 'usernameAttribute' => 'username', 'model' => 'HOAuthUser', 'attributes' => array('email' => 'email', 'firstName' => 'firstName', 'lastName' => 'lastName', 'birthDate' => 'birthDate', 'gender' => 'genderShort', 'avatarURL' => 'photoURL')), 'captcha' => array('class' => 'CCaptchaAction', 'backColor' => 0xffffff, 'testLimit' => 5)));
 }