class AjaxBypass implements Bypass (View source)

Bypass for AJAX requests

Relies on HTTPRequest::isAjax implementation

Methods

public
bool
checkRequestForBypass(HTTPRequest $request)

Returns true for AJAX requests

Details

bool checkRequestForBypass(HTTPRequest $request)

Returns true for AJAX requests

Parameters

HTTPRequest $request

Return Value

bool

True if we can bypass, False if the confirmation is required