[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 107 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
UriSigner:: (5 methods):
__construct()
sign()
check()
computeHash()
buildUrl()
__construct($secret, $parameter = '_hash') X-Ref |
param: string $secret A secret param: string $parameter Query string parameter to use |
sign($uri) X-Ref |
Signs a URI. The given URI is signed by adding the query string parameter which value depends on the URI and the secret. param: string $uri A URI to sign return: string The signed URI |
check($uri) X-Ref |
Checks that a URI contains the correct hash. param: string $uri A signed URI return: bool True if the URI is signed correctly, false otherwise |
computeHash($uri) X-Ref |
No description |
buildUrl(array $url, array $params = []) X-Ref |
No description |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |