AuthenticationTokenCreatedEvent
extends Event
in package
When a newly authenticated security token was created, before it becomes effective in the security system.
Tags
Table of Contents
Properties
- $authenticatedToken : mixed
- $passport : mixed
- $propagationStopped : bool
Methods
- __construct() : mixed
- getAuthenticatedToken() : TokenInterface
- getPassport() : Passport
- isPropagationStopped() : bool
- Is propagation stopped?
- setAuthenticatedToken() : void
- stopPropagation() : void
- Stops the propagation of the event to further event listeners.
Properties
$authenticatedToken
private
mixed
$authenticatedToken
$passport
private
mixed
$passport
$propagationStopped
private
bool
$propagationStopped
= false
Methods
__construct()
public
__construct(TokenInterface $token, Passport $passport) : mixed
Parameters
- $token : TokenInterface
- $passport : Passport
getAuthenticatedToken()
public
getAuthenticatedToken() : TokenInterface
Return values
TokenInterfacegetPassport()
public
getPassport() : Passport
Return values
PassportisPropagationStopped()
Is propagation stopped?
public
isPropagationStopped() : bool
Return values
bool —True if the Event is complete and no further listeners should be called. False to continue calling listeners.
setAuthenticatedToken()
public
setAuthenticatedToken(TokenInterface $authenticatedToken) : void
Parameters
- $authenticatedToken : TokenInterface
stopPropagation()
Stops the propagation of the event to further event listeners.
public
stopPropagation() : void
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().