[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/ -> UriSigner.php (summary)

(no description)

File Size: 103 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UriSigner:: (5 methods):
  __construct()
  sign()
  check()
  computeHash()
  buildUrl()


Class: UriSigner  - X-Ref

Signs URIs.

__construct($secret)   X-Ref

param: string $secret A secret

sign($uri)   X-Ref
Signs a URI.

The given URI is signed by adding a _hash 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 = array()   X-Ref
No description



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1