Changeset 103

Show
Ignore:
Timestamp:
09/01/07 17:37:13 (1 year ago)
Author:
pdingle
Message:

fixed documentation, spacing for validateClickback, added BSD header

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-infocard/wp/clickback.pw.php

    r102 r103  
    11<?php 
     2// This file is part of Pamela Project. 
     3// 
     4// Copyright (C) 2007 by various authors (see CONTRIBUTORS file) 
     5// This file is free software, distributed under the new BSD License (see LICENSE file). 
     6// 
     7// clickback.pw.php 
     8// 
    29//defined( '_VALID_IC' ) or die( 'Direct Access to this location is not allowed.'); 
    310include_once(dirname(__FILE__) . "/../pw-config.php"); 
     
    7481        } // end of function verifyChallenge     
    7582 
    76         // Function:    validateClickback 
    77         // Description: returns true if the supplied candidate matches 
     83        /* 
     84                Function:       validateClickback 
     85                Description:    returns true if the supplied candidate matches 
    7886                                        a newly generated clickback 
    79         // Input:               candidate - the clickback value to validate 
    80         //                              user_email - email address from the token 
    81         //                              user_ppid - privatepersonalidentifier from the token 
    82         // Output:              boolean 
    83         // Side Effects: none 
     87                Input:          candidate - the clickback value to validate 
     88                                        user_email - email address from the token 
     89                                        user_ppid - privatepersonalidentifier from the token 
     90         Output:                boolean 
     91         Side Effects: none 
     92        */ 
    8493        function validateClickback($candidate, $user_email, $user_ppid) 
    8594        {