Wiki

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

Integrating HybridAuth directly into Yii without an extension

Created 2 years ago by biz devHow-tos8 comments – viewed 29,348 times – ( +14 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Show captcha after <N> unsuccessfull attempts

Created 2 years ago by zitterHow-tos7 comments – viewed 16,443 times – ( +14 / -4 ) – 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).

Module based login

Created 4 years ago by suriyansureshTutorials6 comments – viewed 50,623 times – ( +14 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.

Adding login form to each page

Created 5 years ago by pestaaTutorials5 comments – viewed 33,557 times – ( +3 / -2 ) – version 1.1
After adding proper form to the main layout, like:

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

Created 5 years ago by thyseusTutorials5 comments – viewed 66,216 times – ( +12 / -4 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

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

Created 4 years ago by Juan CalvoTutorials4 comments – viewed 41,939 times – ( +17 / -1 ) – 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).

Yet another implementation of CPhpAuthManager.

Created 2 years ago by seenivasanHow-tos3 comments – viewed 9,459 times – ( +8 / -1 ) – 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.

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

Created 6 years ago by qiangTutorials2 comments – viewed 135,334 times – ( +29 ) – 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.

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

Created 5 years ago by lucifuriousTutorials2 comments – viewed 21,577 times – ( +3 ) – version 1.1
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.

HOW TO: Use token based authentication

Created about a year ago by le_topHow-tos2 comments – viewed 10,451 times – ( +4 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.