Wiki

Articles tagged with "authentication", sorted by commentsX
Displaying 11-19 of 19 result(s).

Installing Yii Users and Rights to Newly Created Yii app

Created 5 months ago by Rajith RTutorials6 comments – viewed 10,682 times – ( +9 / -1 )
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

Adding login form to each page

Created 3 years ago by pestaaTutorials5 comments – viewed 17,889 times – ( +3 / -1 )
After adding proper form to the main layout, like:

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

Created 2 years ago by Juan CalvoTutorials4 comments – viewed 20,839 times – ( +16 / -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).

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 3 years ago by thyseusTutorials3 comments – viewed 43,515 times – ( +12 / -2 )
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

How to use markItUp! on a text field for full WYSIWYG editing

Created 3 years ago by lucifuriousTutorials2 comments – viewed 13,473 times – ( +3 )
This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

Yet another implementation of CPhpAuthManager.

Created about a month ago by seenivasanHow-tos2 comments – viewed 2,722 times – ( +4 )
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.

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

Created 4 years ago by qiangTutorials1 comment – viewed 66,804 times – ( +18 )
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.

Integrating HybridAuth directly into Yii without an extension

Created 2 months ago by biz devHow-tos1 comment – viewed 3,689 times – ( +6 )
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Disable login page if user is logged in

Created 13 days ago by freezingbananaTutorials1 comment – viewed 2,276 times – ( +3 / -11 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.