PHP Class REBELinBLUE\Deployer\Http\Middleware\RefreshJsonWebToken

Show file Open project: rebelinblue/deployer

Protected Properties

Property Type Description
$auth Tymon\JWTAuth\JWTAuth

Public Methods

Method Description
__construct ( Tymon\JWTAuth\JWTAuth $auth ) RefreshJsonWebToken constructor.
handle ( Illuminate\Http\Request $request, Closure $next, string | null $guard = null ) : Illuminate\Http\RedirectResponse | Response Handle an incoming request.

Method Details

__construct() public method

RefreshJsonWebToken constructor.
public __construct ( Tymon\JWTAuth\JWTAuth $auth )
$auth Tymon\JWTAuth\JWTAuth

handle() public method

Handle an incoming request.
public handle ( Illuminate\Http\Request $request, Closure $next, string | null $guard = null ) : Illuminate\Http\RedirectResponse | Response
$request Illuminate\Http\Request
$next Closure
$guard string | null
return Illuminate\Http\RedirectResponse | Symfony\Component\HttpFoundation\Response

Property Details

$auth protected property

protected JWTAuth,Tymon\JWTAuth $auth
return Tymon\JWTAuth\JWTAuth