Method | Description | |
---|---|---|
__construct ( |
||
handle ( Illuminate\Http\Request $request, Closure $next ) | Validate JWT token before passing on to the next middleware |
Method | Description | |
---|---|---|
getTokenFromRequest ( Illuminate\Http\Request $request ) : string | Get the token from the request |