Need Help In Yii-Auth

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


            ),

//===================================

so what is the problem exactly?

Hello fahadakram,

Have you tried following this "readme"?

https://github.com/C...i-auth#yii-auth

Here is my working main config file if it helps:




...

'components'=>array(

...

// yii auth module requirement is bootstrap module

'bootstrap'=>array(

'class'=>'bootstrap.components.Bootstrap',

),

				

'user'=>array(

'class' => 'auth.components.AuthWebUser',

'allowAutoLogin'=>true,

),

...

'authManager' => array(

'class' => 'CDbAuthManager',

'defaultRoles'=>array('Guest'),

'connectionID'=>'db',

'itemTable' => 'authitem',

'itemChildTable' => 'authitemchild',

'assignmentTable' => 'authassignment',

'behaviors' => array(

'auth' => array(

'class' => 'auth.components.AuthBehavior',

'admins' => array('Adminisaurus'),

),

),

),

...

),

...