summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update README.mdHEADorigin/masterorigin/HEADmasterArnold Daniels2017-01-021-9/+10
| | | | | Fix incorrect use of `static` in example. [skip ci]
* [skip ci]Arnold Daniels2016-12-291-0/+1
|
* Minor README fixv1.0.1Arnold Daniels2016-12-291-4/+4
| | | | [skip ci]
* Better example for Middleware in READMEArnold Daniels2016-12-281-14/+33
| | | | [skip ci]
* README title updateArnold Daniels2016-12-281-2/+2
| | | | [skip-ci]
* Minor fixes (indicated by scrutinizer)Arnold Daniels2016-12-282-3/+2
|
* Set protocol version for response in middlewarev1.0.0Arnold Daniels2016-12-282-1/+7
|
* Added `Auth::asMiddleware()`Arnold Daniels2016-12-286-23/+119
| | | | | Middleware now works with Auth and Authz is optional If getRequiredRole returns a boolean, just check if a user is logged in
* Added Auth\MiddlewareArnold Daniels2016-12-284-2/+278
|
* Added packagist badges to READMEArnold Daniels2016-12-281-0/+2
|
* Fix in README exampleArnold Daniels2016-12-281-1/+1
|
* Minor fix in doc blockArnold Daniels2016-12-281-2/+2
|
* FixupArnold Daniels2016-12-281-0/+1
|
* Fix session test for php 7.1Arnold Daniels2016-12-282-4/+7
|
* Doc comment fixArnold Daniels2016-12-271-2/+2
|
* Minor fixesArnold Daniels2016-12-274-2/+8
|
* Fixed broken SessionTest on PHP 7Arnold Daniels2016-12-271-1/+3
|
* Implementation + tests Authz\ByLevelArnold Daniels2016-12-274-53/+289
| | | | Use abstract function `getAcccesLevels()` rather than protected property
* Added tests for Authz\ByGroupArnold Daniels2016-12-276-62/+229
| | | | | Authz interface now has `getRoles()` method Removed $groups property infavor of using abstract function `getGroupStructure()`
* fixup confirmation testArnold Daniels2016-12-251-1/+1
|
* Auto build fixArnold Daniels2016-12-242-2/+6
| | | | | Travis run PHP 7.0 and 7.1. Do not run 5.4 and 5.5. Add badges to README
* Improved Auth/Confirmation by using Hashids::encodeHex()Arnold Daniels2016-12-243-26/+160
| | | | Added `$usePassword` to Auth/Confirmation to use password in checksum
* Test Auth\ConfirmationArnold Daniels2016-12-233-21/+176
| | | | | Made a few fixes Support (long) hexidecimal ids
* Added test for Auth\Sessions traitArnold Daniels2016-12-223-2/+133
|
* Add test for AuthArnold Daniels2016-12-221-35/+50
|
* Added testsArnold Daniels2016-12-223-37/+188
|
* Restructe Auth from a static class to a normal instantiatable classArnold Daniels2016-12-2217-478/+641
| | | | | | Move confirmation to own trait Authz/User only gets the role instead of hasRole Use PSR-4
* Merge pull request #4 from Minstel/masterArnold Daniels2015-12-271-3/+3
|\ | | | | Fixes to Auth::generateConfirmationHash() and Auth::fetchForPasswordReset()
| * Fixes to Auth::generateConfirmationHash() and Auth::fetchForPasswordReset()minstel2015-12-241-3/+3
| |
* | Remove property from Authz\byGroupv1.0.0-beta9Arnold Daniels2015-11-251-21/+19
| |
* | Merge pull request #3 from Minstel/masterv1.0.0-beta8Arnold Daniels2015-11-241-1/+1
|\ \ | |/ | | Fixed byGroup::expandGroup
| * Fixed byGroup::expandGroupminstel2015-11-241-1/+1
| |
* | isset($user) in Auth::verify() is redundantArnold Daniels2015-11-241-1/+1
| |
* | Merge pull request #2 from Turv/masterArnold Daniels2015-11-241-1/+1
|\ \ | |/ |/| Verify bug fix, fetchByUsername may return false for invalid login, inst...
| * Verify bug fix, fetchByUsername may return false for invalid login, instead ↵Lee2015-05-061-1/+1
| | | | | | | | of empty model that implements the getPassword methods resulting in a fatal error. Verify should check for false and not presume fetchByUsername always returns user model
* | Update README.mdArnold Daniels2015-11-211-14/+30
| |
* | Update README.mdArnold Daniels2015-11-211-2/+2
| |
* | Make usage of Auth less error prone.v1.0.0-beta7Arnold Daniels2015-11-141-1/+6
| | | | | | | | | | onLogin must return `false` in order to fail. Returning nothing (or null) also counts as success. Trigger a notice when persistCurrentUser hasn't been overload
* | Authz\User::hasRole() shouldn't be staticv1.0.0-beta6Arnold Daniels2015-11-021-1/+1
| |
* | Fix for Fetching interfacev1.0.0-beta5Arnold Daniels2015-09-251-1/+1
| |
* | Use interface instead of abstract methodsv1.0.0-beta4Arnold Daniels2015-09-243-45/+52
|/ | | | | | to prevent strict errors Black hole by default (no abstract persist functions)
* Make Auth::fetchForPasswordReset() staticv1.0.0-beta3Arnold Daniels2014-11-121-1/+1
|
* Make Auth::fetchForConfirmation() staticArnold Daniels2014-11-121-1/+1
|
* Do authz through the userArnold Daniels2014-10-116-79/+79
| | | BC BREAK!
* Fixed auth sessionsArnold Daniels2014-10-092-3/+3
|
* Made Authz more generalv1.0.0-beta2Arnold Daniels2014-10-076-37/+209
|
* Merge branch 'master' of github.com:jasny/authv1.0.0-beta1Arnold Daniels2014-10-076-88/+206
|\
| * Fix byGroupArnold Daniels2014-09-021-3/+3
| |
| * Docblock changesArnold Daniels2014-08-283-19/+53
| |
| * Added traits for authorization by level or groupArnold Daniels2014-08-275-67/+146
| | | | | | | | Generalize Auth\User interface Use PSR-0
| * Removed non-existant bin/auth entry in composer.jsonArnold Daniels2014-08-271-1/+0
| |
| * Update README.mdArnold Daniels2014-08-051-15/+21
| |
* | Require php >=5.4.0 in composerArnold Daniels2014-08-051-0/+1
|/
* Implemented libraryArnold Daniels2014-08-055-0/+488
| | | Added composer.json
* first commitArnold Daniels2014-08-051-0/+0