DVCSRF class

CSRF helper surface used by generated backend, form, model, DB, and realtime flows.

Constructors

DVCSRF()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requiresValidation(String method) → bool
token() → String
toString() → String
A string representation of this object.
inherited
validate(String? token, {String? bodyToken}) → bool
validateRequest({required String method, required String? headerToken, String? bodyToken}) → bool

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

fieldName → const String
headerName → const String