<?php

class OpauthModule extends CWebModule {

	public $securitySalt;
	public $strategies;
	public $debug;

	public function init() {
		$this->setImport(array(
			'opauth.vendors.Opauth.Opauth',
		));
		if (is_null($this->debug)) {

		}
		exit;
		$path = Yii::app()->createUrl($this->id) . '/';
		$opauth = new Opauth(array(
			'Security.salt' => $this->securitySalt,
			'path' => $path,
			'strategies' => $this->strategies,
		));
	}

	public function beforeControllerAction($controller, $action) {
		if (parent::beforeControllerAction($controller, $action)) {
			return true;
		}
		else
			return false;
	}

}

<?php

class OpauthModule extends CWebModule {

	public $securitySalt;
	public $securityIteration = 300;
	public $securityTimeout = '2 minutes';
	public $strategies;
	public $debug;

	public function init() {
		$this->setImport(array(
			'opauth.vendors.Opauth.Opauth',
		));
		if (is_null($this->debug)) {
			if (defined('YII_DEBUG')) {
				$this->debug = true;
			}
		}
		$path = Yii::app()->createUrl($this->id) . '/';
		$opauth = new Opauth(array(
			'Security.salt' => $this->securitySalt,
			'Security.iteration' => $this->securityIteration,
			'Security.timeout' => $this->securityTimeout,
			'debug' => $this->debug,
			'path' => $path,
			'strategies' => $this->strategies,
		));
	}

	public function beforeControllerAction($controller, $action) {
		if (parent::beforeControllerAction($controller, $action)) {
			return true;
		}
		else
			return false;
	}

}

Implement more security options and debug options.
Implement more security options and debug options.
