The start of something beautiful

This commit is contained in:
2024-09-11 22:48:07 -06:00
parent 45acea47f3
commit f5997ee5ec
5614 changed files with 630696 additions and 0 deletions
@@ -0,0 +1,17 @@
<?php
namespace Lexik\Bundle\JWTAuthenticationBundle\Security\User;
use Lexik\Bundle\JWTAuthenticationBundle\Exception\UserNotFoundException;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\User\UserProviderInterface;
interface PayloadAwareUserProviderInterface extends UserProviderInterface
{
/**
* Loads a user from an identifier and JWT token payload.
*
* @throws UserNotFoundException if the user is not found
*/
public function loadUserByIdentifierAndPayload(string $identifier, array $payload): UserInterface;
}