CsrfProtection
class CsrfProtection extends HiddenField
CSRF protection field.
Constants
PROTECTION |
|
Properties
Session|null | $session |
Methods
__construct(string|object $errorMessage)
No description
void
loadHttpData()
Loads HTTP data.
string
getToken()
No description
Html|string
getControl()
Generates control's HTML element.
static bool
Details
at line 30
__construct(string|object $errorMessage)
No description
at line 57
IControl
setValue(mixed $value)
internal |
Sets control's value.
at line 63
void
loadHttpData()
Loads HTTP data.
at line 69
string
getToken()
No description
at line 91
Html|string
getControl()
Generates control's HTML element.
at line 98
static bool
validateCsrf(CsrfProtection $control)
internal |
No description