Page MenuHomeDevCentral

AuthServiceProvider.php
No OneTemporary

AuthServiceProvider.php

<?php
namespace AuthGrove\Providers;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider {
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
'AuthGrove\Model' => 'AuthGrove\Policies\ModelPolicy',
];
/**
* Register any application authentication / authorization services.
*
* @param \Illuminate\Contracts\Auth\Access\Gate $gate
* @return void
*/
public function boot(GateContract $gate) {
$this->registerPolicies($gate);
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Dec 19, 22:18 (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3250172
Default Alt Text
AuthServiceProvider.php (695 B)

Event Timeline