I am trying to implement auth module in my project , recently i implement rights module having full documentation and i really enjoy with it , but auth is poor documented with no help from any where , i never get help from yii form but hope this time you people contribute ,
//============MY AUTH MODULE CONFIGURATION IN BACKEND CONFIG FILE IS
‘modules’ => array(
'auth' => array(
'class' => 'common.modules.auth.AuthModule',
'strictMode' => true, // when enabled authorization items cannot be assigned children of same
'userClass' => 'Contact', // the name of the user model class.
'userIdColumn' => 'id', // the name of the user id column.
'userNameColumn' => 'email', // the name of the user name column.
'defaultLayout' => 'application.views.layouts.main', // the layout used by the module.
'viewDir' => null, // the path to view files to use with this module.
),
//========================
‘components’ => array(
'authManager' => array(
'behaviors' => array(
'auth' => array(
'class' => 'common.modules.auth.components.AuthBehavior',
),
),
),
'user' => array(
// 'allowAutoLogin' => true,
'class' => 'common.modules.auth.components.AuthWebUser',
'admins' => array('admin', 'foo', 'bar'), // users with full access F
),
//===================================