Files
cachet-docker/src/Providers/AuthServiceProvider.php
2015-01-04 09:56:01 +00:00

32 lines
585 B
PHP

<?php
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Auth\ApiKeyAuthenticator;
use Illuminate\Support\ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app->bindShared('CachetHQ\Cachet\Auth\ApiKeyAuthenticator', function () {
return new ApiKeyAuthenticator();
});
}
}