Copied!

BeforeCheckTokenEvent

BeforeCheckTokenEvent.php : 14
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCheckTokenEvent.php : 24
public __construct(string $tokenType, string $token[, string|null $identifier = null ])

Parameters

Name Type Default value Description
$tokenType string - -
$token string - -
$identifier string|null null -

publicgetIdentifier()

BeforeCheckTokenEvent.php : 66
public getIdentifier() : string|null

Return values

string|null

publicgetResult()

BeforeCheckTokenEvent.php : 34
public getResult() : bool

Return values

bool

publicgetToken()

BeforeCheckTokenEvent.php : 61
public getToken() : string

Return values

string

publicgetTokenType()

BeforeCheckTokenEvent.php : 56
public getTokenType() : string

Return values

string

publichasResult()

BeforeCheckTokenEvent.php : 51
public hasResult() : bool

Return values

bool

publicsetResult()

BeforeCheckTokenEvent.php : 46
public setResult(bool|null $result) : void

Parameters

Name Type Default value Description
$result bool|null - -