VuFind API Documentation

SessionCsrf extends Csrf
in package
implements CsrfInterface

Extension of Laminas\Validator\Csrf with token counting/clearing functions added.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Interfaces, Classes, Traits and Enums

CsrfInterface
Interface for Csrf validator

Table of Contents

getTokenCount()  : int
How many tokens are currently stored in the session?
trimTokenList()  : void
Keep only the most recent N tokens.

Methods

getTokenCount()

How many tokens are currently stored in the session?

public getTokenCount() : int
Return values
int

trimTokenList()

Keep only the most recent N tokens.

public trimTokenList(int $limit) : void
Parameters
$limit : int

Number of tokens to keep.

Return values
void

Search results