CoreFiles by mySites.guru
MissingMandatoryClaimException.php30 lines, 555 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
ed97416988eecf2a940e7fba949ae731
sha1
1d5433adea15441d4182945878117cbdbc69b3e3
sha256
bad76a510c684bbed08d75d0f6c867445ef9fa1ce73eee8a9c0517c5f1cee8cc
<?php

declare(strict_types=1);

namespace Jose\Component\Checker;

use Exception;

class MissingMandatoryClaimException extends Exception implements ClaimExceptionInterface
{
    /**
     * MissingMandatoryClaimException constructor.
     *
     * @param string[] $claims
     */
    public function __construct(
        string $message,
        private readonly array $claims
    ) {
        parent::__construct($message);
    }

    /**
     * @return string[]
     */
    public function getClaims(): array
    {
        return $this->claims;
    }
}

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