Campustream 1.0
A social network MQP for WPI
SignedCookie Class Reference

Static Public Member Functions

static create ($cookie_name, $params, $secrets=array())
static unserialize ($cookie_name)
static verify ($cookie, $secrets=array())
static signature ($data, $secrets=array())

Static Public Attributes

static $default_values = array( 'nonce' => '', 'timestamp' => '', 'token' => '' )
static $last_signature_data = null

Detailed Description

Definition at line 3 of file signedcookie.php.


Member Function Documentation

static create ( cookie_name,
params,
secrets = array() 
) [static]

Definition at line 8 of file signedcookie.php.

static signature ( data,
secrets = array() 
) [static]

Definition at line 45 of file signedcookie.php.

static unserialize ( cookie_name) [static]

Definition at line 22 of file signedcookie.php.

static verify ( cookie,
secrets = array() 
) [static]

Definition at line 34 of file signedcookie.php.


Field Documentation

$default_values = array( 'nonce' => '', 'timestamp' => '', 'token' => '' ) [static]

Definition at line 5 of file signedcookie.php.

$last_signature_data = null [static]

Definition at line 6 of file signedcookie.php.


The documentation for this class was generated from the following file: