Csrf
extends Csrf
in package
Table of Contents
- $app : App
- $resolvedInstance : array<string|int, mixed>
- __callStatic() : mixed
- check() :
- checkCookie() :
- checkGet() :
- checkPost() :
- clearResolvedInstances() : mixed
- clear
- generateToken() :
- refreshToken() :
- setFacadeApplication() : mixed
- {@inheritDoc}
- setTokenTimeout() :
- token() :
- getFacadeAccessor() : string
- getFacadeRoot() : object|stdClass
- resolveFacadeInstance() : object
Properties
$app
protected
static App
$app
$resolvedInstance
protected
static array<string|int, mixed>
$resolvedInstance
Methods
__callStatic()
public
static __callStatic( $method, $args) : mixed
Parameters
Tags
Return values
mixed —check()
public
static check() :
Return values
—checkCookie()
public
static checkCookie() :
Return values
—checkGet()
public
static checkGet() :
Return values
—checkPost()
public
static checkPost() :
Return values
—clearResolvedInstances()
clear
public
static clearResolvedInstances() : mixed
Return values
mixed —generateToken()
public
static generateToken(mixed $refresh) :
Parameters
- $refresh : mixed
Return values
—refreshToken()
public
static refreshToken() :
Return values
—setFacadeApplication()
{@inheritDoc}
public
static setFacadeApplication(App $app) : mixed
Parameters
- $app : App
Return values
mixed —setTokenTimeout()
public
static setTokenTimeout(int $seconds) :
Parameters
- $seconds : int
Return values
—token()
public
static token() :
Return values
—getFacadeAccessor()
protected
abstract static getFacadeAccessor() : string
Return values
string —getFacadeRoot()
protected
static getFacadeRoot() : object|stdClass
Return values
object|stdClass —resolveFacadeInstance()
protected
static resolveFacadeInstance(string $mainClass) : object
Parameters
- $mainClass : string