CoreFiles by mySites.guru
ExtensionOutputCheckerHandler.php32 lines, 665 bytes, from Joomla_6.2.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 6.1.4-rc1
md5
edf207d2db151add3a85bbe29effb8fc
sha1
9658f64c49f42ea36b8b33d331ce7385fb3ea655
sha256
a0d57f59812e57b4e4baab9fc2c31dc5703c682ff627aef440372587b4bc88b2
<?php

declare(strict_types=1);

namespace Webauthn\AuthenticationExtensions;

class ExtensionOutputCheckerHandler
{
    /**
     * @var ExtensionOutputChecker[]
     */
    private array $checkers = [];

    public static function create(): self
    {
        return new self();
    }

    public function add(ExtensionOutputChecker $checker): void
    {
        $this->checkers[] = $checker;
    }

    public function check(
        AuthenticationExtensionsClientInputs $inputs,
        AuthenticationExtensionsClientOutputs $outputs
    ): void {
        foreach ($this->checkers as $checker) {
            $checker->check($inputs, $outputs);
        }
    }
}

The same content is in 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.