Articles tagged with "authentication", sorted by date (updated)X
Displaying 11-20 of 22 result(s).

Integrating HybridAuth directly into Yii without an extension

Updated 4 years ago by biz devHow-tos8 comments – viewed 41,571 times – ( +15 / -1 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Yet another implementation of CPhpAuthManager.

Updated 4 years ago by seenivasanHow-tos3 comments – viewed 13,072 times – ( +8 / -2 ) – version 1.1
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We 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 application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

Kickstart development with Yii-App

Updated 5 years ago by Chris83How-tos25 comments – viewed 33,004 times – ( +21 / -2 ) – version 1.1
I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use this project as a starting point for all of your Yii projects.

How to setup RBAC with a php file

Updated 5 years ago by StagelineHow-tos17 comments – viewed 67,282 times – ( +26 / -6 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Simple RBAC

Updated 5 years ago by StagelineTutorials17 comments – viewed 94,011 times – ( +50 / -4 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

Adding login form to each page

Updated 5 years ago by Yang HeTutorials5 comments – viewed 38,167 times – ( +3 / -3 ) – version 1.1
After adding proper form to the main layout, like:

How to add more information to Yii::app()->user

Updated 5 years ago by Yang HeTutorials2 comments – viewed 181,684 times – ( +31 / -1 ) – version 1.1
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.

Show captcha after <N> unsuccessfull attempts

Updated 5 years ago by zitterHow-tos7 comments – viewed 23,302 times – ( +15 / -6 ) – version 1.1
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

Introducción al control de acceso basado en roles (RBAC)

Updated 7 years ago by Juan CalvoTutorials4 comments – viewed 55,841 times – ( +17 / -2 ) – version 1.1
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

Module based login

Updated 7 years ago by suriyansureshTutorials6 comments – viewed 59,127 times – ( +14 / -1 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.