[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

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

(no description)

File Size: 107 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, $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: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1