Versions in this module Expand all Collapse all v1 v1.1.1 Jun 9, 2023 Changes in this version + var ErrInvalidToken = errors.New("csrf_token is not valid") v1.1.0 Jan 14, 2021 Changes in this version + type CsrfFilter struct + func (f *CsrfFilter) Filter(ctx context.Context, r *web.Request, w http.ResponseWriter, ...) web.Result + func (f *CsrfFilter) Inject(r *web.Responder, s application.Service) + type CsrfMiddleware struct + func (m *CsrfMiddleware) Inject(r *web.Responder, s application.Service) + func (m *CsrfMiddleware) Secured(action web.Action) web.Action + func (m *CsrfMiddleware) SecuredHeader(action web.Action) web.Action + type CsrfTokenFormExtension struct + func (f *CsrfTokenFormExtension) Inject(service application.Service) + func (f *CsrfTokenFormExtension) Validate(_ context.Context, req *web.Request, _ domain.ValidatorProvider, _ interface{}) (*domain.ValidationInfo, error) v1.0.0 Sep 2, 2019