User-based API key. Closes #256.

This commit is contained in:
James Brooks
2015-01-03 17:51:35 +00:00
parent 1d30133851
commit 3d4c38c7ee
9 changed files with 187 additions and 1 deletions
+6
View File
@@ -76,9 +76,15 @@ return [
*/
'auth' => [
'basic' => function ($app) {
return new Dingo\Api\Auth\BasicProvider($app['auth']);
},
'api_key' => function ($app) {
return new CachetHQ\Cachet\Auth\ApiKeyAuthenticator();
},
],
/*