protected function bindAuthForJwtToken()
    {
        Auth::viaRequest('jwt', function ($request) {
            try {
                if (! $user = JWTAuth::parseToken()->authenticate()) {
                    return;
                }
            } catch (Exception $e) {
                return;
            }

            return $user;
        });
    }
protected function bindAuthForJwtToken()
    {
        Auth::viaRequest('jwt', function ($request) {
            try {
                if (! $user = JWTAuth::parseToken()->authenticate()) {
                    return;
                }
            } catch (Exception $e) {
                return;
            }

            return $user;
        });
    }
protected function bindAuthForJwtToken ( ) { Auth :: viaRequest ( 'jwt' , function ( $ request ) { try { if ( ! $ user = JWTAuth :: parseToken ( ) -> authenticate ( ) ) { return ; } } catch ( Exception $ e ) { return ; } return $ user ; } ) ; }
Bind authentication for JWT Token.

@return void
Bind authentication for JWT Token .