Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrsfTokenFormExtension ¶
type CrsfTokenFormExtension struct {
// contains filtered or unexported fields
}
func (*CrsfTokenFormExtension) Inject ¶
func (f *CrsfTokenFormExtension) Inject(service application.Service)
func (*CrsfTokenFormExtension) Validate ¶
func (f *CrsfTokenFormExtension) Validate(_ context.Context, req *web.Request, _ domain.ValidatorProvider, _ interface{}) (*domain.ValidationInfo, error)
type CsrfFilter ¶
type CsrfFilter struct {
// contains filtered or unexported fields
}
func (*CsrfFilter) Filter ¶
func (f *CsrfFilter) Filter(ctx context.Context, r *web.Request, w http.ResponseWriter, chain *router.FilterChain) web.Response
func (*CsrfFilter) Inject ¶
func (f *CsrfFilter) Inject(r *web.Responder, s application.Service)
type CsrfMiddleware ¶
type CsrfMiddleware struct {
// contains filtered or unexported fields
}
func (*CsrfMiddleware) Inject ¶
func (m *CsrfMiddleware) Inject(r *web.Responder, s application.Service)
Click to show internal directories.
Click to hide internal directories.