2017 © Pedro Peláez
 

library auth

Simple auth class for PHP 5.3+

image

gglnx/auth

Simple auth class for PHP 5.3+

  • Sunday, December 16, 2012
  • by gglnx
  • Repository
  • 3 Watchers
  • 1 Stars
  • 406 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 57 % Grown

The README.md

Auth

Simple auth class for PHP 5.3+ based on cookies. Also included a password hash class based on phpass (http://www.openwall.com/phpass/) 0.3., (*1)

Using Auth

Checking if a user is currently logged in

If the current session is valid you get the User model object as return value., (*2)

$user = Auth\Session::check(function($user, $md5) {
    $user = User::findOne()->is('username', $user)->select();
    return array('username' => $user->username, 'password' => $user->password, 'object' => $user);
});

The Versions

16/12 2012

dev-master

9999999-dev http://github.com/gglnx/auth

Simple auth class for PHP 5.3+

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

auth

11/08 2012

1.0.3

1.0.3.0 http://github.com/gglnx/auth

Simple auth class for PHP 5.3+

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

auth

11/08 2012

1.0.2

1.0.2.0 http://github.com/gglnx/auth

Simple auth class for PHP 5.3+

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

auth

11/08 2012

1.0.1

1.0.1.0 http://github.com/gglnx/auth

Simple auth class for PHP 5.3+

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

auth

11/08 2012

1.0

1.0.0.0 http://github.com/gglnx/auth

Simple auth class for PHP 5.3+

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

auth