src/Authorizer/SamlAuthorizer.php
public function verifyCredentials(array $payload)
    {
        if (!isset($payload['username'])) {
            throw new InvalidCredentialsException();
        }

        $user = $this->user_repository->findByUsername($payload['username']);

        if (!$user) {
            throw new UserNotFoundException();
        }

        return $user;
    }
public function verifyCredentials(array $payload)
    {
        if (!isset($payload['username'])) {
            throw new InvalidCredentialsException();
        }

        $user = $this->user_repository->findByUsername($payload['username']);

        if (!$user) {
            throw new UserNotFoundException();
        }

        return $user;
    }
{@inheritdoc}