The start of something beautiful
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Lexik\Bundle\JWTAuthenticationBundle\Event;
|
||||
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
class JWTEncodedEvent extends Event
|
||||
{
|
||||
private string $jwtString;
|
||||
|
||||
public function __construct(string $jwtString)
|
||||
{
|
||||
$this->jwtString = $jwtString;
|
||||
}
|
||||
|
||||
public function getJWTString(): string
|
||||
{
|
||||
return $this->jwtString;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user