Documentation

ABSCSRF
in package

Table of Contents

FIELD_NAME  = 'alessandrodesign_csrf_check'
SESSION_NAME  = 'alessandrodesign_csrf_token'
check()  : bool
token()  : void
set_session()  : mixed

Constants

FIELD_NAME

public mixed FIELD_NAME = 'alessandrodesign_csrf_check'

SESSION_NAME

public mixed SESSION_NAME = 'alessandrodesign_csrf_token'

Methods

check()

public static check(array<string|int, mixed> $post) : bool
Parameters
$post : array<string|int, mixed>
Return values
bool

token()

public static token([mixed $input = true ]) : void
Parameters
$input : mixed = true
Return values
void

set_session()

private static set_session() : mixed
Return values
mixed

Search results