2017 © Pedro Peláez
 

library simple-hash-authenticator

Simple Hash Authenticator for Nette Framework

image

nella/simple-hash-authenticator

Simple Hash Authenticator for Nette Framework

  • Monday, December 29, 2014
  • by vrtak-cz
  • Repository
  • 2 Watchers
  • 5 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Simple hash authenticator for Nette Framework

Build Status SensioLabsInsight Status Latest Stable Version Composer Downloads Dependency Status HHVM Status, (*1)

Installation

composer require nella/simple-hash-authenticator

Usage


$authenticator = new \Nella\SimpleHashAuthenticator\Authenticator(array( 'demo' => '$2y$10$l5cjVRLvK2mjm6hzj8.s8.yjXmtO0Eio0JNt.JwAbZccndN9m1IVi', // hash of 'test' ), array( 'demo' => array( 'admin' ), )); /** @var \Nette\Security\User $user */ $user->setAuthenticator($authenticator);

or register extension, (*2)


extensions: authenticator: Nella\SimpleHashAuthenticator\Extension authenticator: users: demo: password: '$2y$10$l5cjVRLvK2mjm6hzj8.s8.yjXmtO0Eio0JNt.JwAbZccndN9m1IVi' roles: - admin # or without roles authenticator: users: demo: '$2y$10$l5cjVRLvK2mjm6hzj8.s8.yjXmtO0Eio0JNt.JwAbZccndN9m1IVi'

For hash generator:, (*3)


authenticator: router: @router # or your router service name

and go to http://yourweb.local/authenticator, (*4)

License

Simple hash authenticator for Nette Framework is licensed under the MIT License - see the LICENSE file for details, (*5)

The Versions

29/12 2014

dev-master

9999999-dev https://github.com/nella/simple-hash-authenticator

Simple Hash Authenticator for Nette Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

security simple nette hash authenticator

05/10 2014

v1.0.1

1.0.1.0 https://github.com/nella/simple-hash-authenticator

Simple Hash Authenticator for Nette Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

security simple nette hash authenticator