play.filters

csrf

package csrf

Visibility
  1. Public
  2. All

Type Members

  1. class CSRFAction extends EssentialAction

    An action that provides CSRF protection.

  2. class CSRFFilter extends EssentialFilter

    A filter that provides CSRF protection.

    A filter that provides CSRF protection.

    These must be by name parameters because the typical use case for instantiating the filter is in Global, which happens before the application is started. Since the default values for the parameters are loaded from config and hence depend on a started application, they must be by name.

  3. class CSRFModule extends Module

    The CSRF module.

Value Members

  1. object CSRF

  2. object CSRFAction

  3. object CSRFAddToken

    CSRF add token action.

    CSRF add token action.

    Apply this to all actions that render a form that contains a CSRF token.

  4. object CSRFCheck

    CSRF check action.

    CSRF check action.

    Apply this to all actions that require a CSRF check.

  5. object CSRFFilter

  6. object Global extends WithFilters with api.GlobalSettings

    Default global, use this if CSRF is your only Filter

Ungrouped