<?php

namespace Inside\DESK\Contracts;

use Illuminate\Http\Request;

interface UrlSigner
{
    public function signedRoute(string $name, array $parameters = [], ?bool $secure = null): string;

    public function hasValidSignature(Request $request, array $ignoreQuery = []): bool;
}
