azp = $azp; } /** * @param mixed $value * * @throws InvalidClaimException */ public function checkClaim($value): void { if ($value !== $this->azp) { throw new InvalidClaimException(sprintf('azp must be the client_id, expected %s, got: %s', $this->azp, (string) $value), self::CLAIM_NAME, $value); } } public function supportedClaim(): string { return self::CLAIM_NAME; } }