Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
c

CsrfProtection

class CsrfProtection

Browser-bound double-submit CSRF validation for ordinary forms.

Defined by scalive.CsrfProtection. View source (scalive/transport/zio-http/src/scalive/HttpSecurity.scala:36-54)

Methods1

validate

def validate(request: zio.http.Request, data: FormData): zio.package.IO[CsrfProtection.ValidationError, Unit]

Defined by scalive.CsrfProtection.validate. View source (scalive/transport/zio-http/src/scalive/HttpSecurity.scala:39-44)