Service/ServiceFactory.php
public function createVerifier(array $selected_algorithms)
    {
        $algorithms = $this->algorithm_manager->getSelectedAlgorithmMethods($selected_algorithms);

        return Verifier::createVerifier($algorithms);
    }
public function createVerifier(array $selected_algorithms)
    {
        $algorithms = $this->algorithm_manager->getSelectedAlgorithmMethods($selected_algorithms);

        return Verifier::createVerifier($algorithms);
    }
@param string[] $selected_algorithms

@return \Jose\VerifierInterface