CoreFiles by mySites.guru
KeyIdentifierAnalyzer.php17 lines, 371 bytes, from Joomla_5.2.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 5.2.0-alpha1
md5
6cd591e4e03cb5eb2a16565e7c472b59
sha1
b68520d84a4266cdf80046aedda3dcd7d3b8435a
sha256
8b8e8ffe0f389dd0addd0d00b377f1b1f3a317371ca0d8b43fa34c173b143b90
<?php

declare(strict_types=1);

namespace Jose\Component\KeyManagement\Analyzer;

use Jose\Component\Core\JWK;

final class KeyIdentifierAnalyzer implements KeyAnalyzer
{
    public function analyze(JWK $jwk, MessageBag $bag): void
    {
        if (! $jwk->has('kid')) {
            $bag->add(Message::medium('The parameter "kid" should be added.'));
        }
    }
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.