2017 © Pedro Peláez
 

yii-extension yii-useridentity-trait

Trait version of Yii 1.1 UserIdentity

image

igorsantos07/yii-useridentity-trait

Trait version of Yii 1.1 UserIdentity

  • Friday, July 18, 2014
  • by igorsantos07
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Yii 1.1's UserIdentity, trait version

This is a copy implementation of the original UserIdentity class, but instead as a Trait. This way you can implement your authentication logic inside your model, if those are tightly coupled - what makes sense in REST models, for example, where you could have a user service that at same time retrieves data and logs in., (*1)

Most part of code was originally from CBaseUserIdentity, so using this trait is equivalent of inheriting from that class, except for the fact you also have to implement IUserIdentity in your class., (*2)

It is also namespaced under igorsantos07 so your IDE will not conflict with Gii or internal framework files :), (*3)

The Versions

18/07 2014

dev-master

9999999-dev

Trait version of Yii 1.1 UserIdentity

  Sources   Download

BSD-3-Clause

The Requires

 

authentication yii yii-1.1

18/07 2014

v1.1.0

1.1.0.0

Trait version of Yii 1.1 UserIdentity

  Sources   Download

BSD-3-Clause

The Requires

 

authentication yii yii-1.1

07/07 2014

v1.0.0

1.0.0.0

Trait version of Yii 1.1 UserIdentity

  Sources   Download

MIT

The Requires

 

yii yii-1.1

07/07 2014

v0.1.0

0.1.0.0

Trait version of Yii 1.1 UserIdentity

  Sources   Download

MIT

The Requires

 

yii yii-1.1