Pages in wikiX
Showing 1 - 10 of 21 for auth
1

Auth module integrations steps

How-tosUpdated about a year ago by Nisanth thulasi 398 views, 1 comment – ( +2 )
1) Download the latest release from Yii extensions Auth.Auth and placed under folder protected/modules, if not, create a folder named modules 2)Then edit, protected/config/main.php on module array 
2

Yet another implementation of CPhpAuthManager.

How-tosUpdated about a year ago by seenivasan 7756 views, 3 comments – ( +8 / -1 )
 are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main 
3

Simple authorization system

How-tosUpdated about a year ago by Gustavo 23393 views, 1 comment – ( +16 )
How to create a simple (non-RBAC) authorization system As I notice reading the forum, this is a frequent doubt, so I decided to write this article. This article covers only the authorization system. I 
4

Integrating HybridAuth directly into Yii without an extension

How-tosUpdated about a year ago by biz dev 22338 views, 7 comments – ( +14 )
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension. The reason for not using an existing extension, such as hoauth is because 
5

CPhpAuthManager - how it works, and when to use it

How-tosUpdated 2 years ago by dckurushin 18434 views, 5 comments – ( +1 / -4 )
Introduction Before reading this article, you should first learn this How to setup RBAC with a php file It is actually mentioned in the documentation CPhpAuthManager : CPhpAuthManager is mainly 
6

Yii User and Rights Implementation

How-tosUpdated about a month ago by Rajith R 15630 views, 4 comments – ( +6 )
implementing some features of yii user and rights. some tips.. After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation . C 
7

How to limit number of guest page views

How-tosUpdated 3 months ago by PeRoChAk 2455 views, 1 comment – ( +3 )
In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this. Here is how you can do this, if your application requires this. Open file pr 
8

Configuring different sessions for backend and frontend in Yii advanced app

How-tosUpdated about a month ago by Kartik V 1654 views, 1 comment – ( +26 )
Problem Statement After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and t 
9

Checking for "expired" sessions/logins on the client side

How-tosUpdated 3 months ago by le_top 11801 views, 1 comment – ( +4 )
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes. The YII_CSRF_TOKEN validity is a real pain actually if your end user maint 
10

Control de Usuarios y Roles (RBAC) - en español

TutorialsUpdated about a year ago by bluyell 3992 views, 8 comments – ( +4 )
 . dentro de 'modules' agregar: 'cruge'=>array( 'tableprefix'=>'cruge_', // para que utilice a protected.modules.cruge.models.auth.CrugeAuthDefault.php // // en vez de 'default' pon 'authdemo' para que