UriSigner::check()

bool check(string $uri)

Checks that a URI contains the correct hash.

The _hash query string parameter must be the last one (as it is generated that way by the sign() method, it should never be a problem).

Parameters

string $uri A signed URI

Return Value

bool True if the URI is signed correctly, false otherwise
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.