| author | durandn |
| Mon, 31 Aug 2015 12:22:14 +0200 | |
| changeset 87 | 4ea185b1b7ce |
| parent 0 | 1afc9d2ab94d |
| permissions | -rw-r--r-- |
<?php namespace TestCAS\Http\Middleware; use Cas; use Closure; class CasAuthenticate { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { Cas::authenticate(); return $next($request); } }