public function add(string $name, $value)
    {
        if (in_array($name, ['exp', 'nbf', 'iat']) && is_int($value)) {
            $value = DateTimeImmutable::createFromFormat('U', $value);
        }

        $this->claims[$name] = $value;
    }