SignedUrl
in package
Table of Contents
- $secret : string
- $ttl : int
- __construct() : mixed
- issue() : string
- validate() : bool
Properties
$secret
private
string
$secret
$ttl
private
int
$ttl
Methods
__construct()
public
__construct(string $secret[, int $ttl = 8600 ]) : mixed
Parameters
- $secret : string
- $ttl : int = 8600
Return values
mixed —issue()
public
issue() : string
Return values
string —validate()
public
validate(string $token) : bool
Parameters
- $token : string