class Csrf implements ExtenderInterface

Properties

protected $csrfExemptRoutes

Methods

exemptRoute(string $routeName)

<p>Exempt a named route from CSRF checks.</p>

exemptPath(string $path) deprecated

<p>Exempt a path from csrf checks. Wildcards are supported.</p>

extend(Container $container, Extension $extension = null)

No description

Details

exemptRoute(string $routeName)

<p>Exempt a named route from CSRF checks.</p>

Parameters

string $routeName

exemptPath(string $path) deprecated

deprecated beta 15, remove beta 16. Exempt routes should be used instead.

<p>Exempt a path from csrf checks. Wildcards are supported.</p>

Parameters

string $path

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension