PHP Classes

File: api_user.config.php

Recommend this page to a friend!
  Classes of Ben D.Benner   Jaduka API Class   api_user.config.php   Download  
File: api_user.config.php
Role: Configuration script
Content type: text/plain
Description: Configuration file containing api user info
Class: Jaduka API Class
Access a public telephone network with Jaduka API
Author: By
Last change:
Date: 18 years ago
Size: 3,237 bytes
 

Contents

Class file image Download
<?php
   
/* ------------------------------ BSD License Information ---------------------------------
        Copyright (c) 2006, Network Enhanced Telecom, LLP
        All rights reserved.

        Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

            * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
            * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
            * Neither the name of Jaduka or Network Enhanced Telecom, LLP nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Contact info@jaduka.com, 800-880-5910.

        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

        --------------------------------------------------------------------------------------
    */
   
    /* --------------- Jaduka API User Configuration File --------------------------------------
        This file is intended to be used with the jaduka.class.php.

        version: 0.8
        released: 10/25/2006
        author: Ben D. Benner, CTO, ben@jaduka.com
        company: Jaduka, www.jaduka.com, 800.880.5910
    */



    /* --------------------------- Jaduka User Information ---------------------------------
        The Jaduka API has a number of fundamental changes from the way that the Pioneer API
        works. The first is that there no longer is a login method that returns a clientId.
        This means that there is no longer a need to keep track of a clientId. The Jaduka API
        requires that the login credentials be passed with each method call.

        Another aspect is that there is no longer a $password. It has been replaced with the
        $privateKey. The $privateKey combined with one of the other parameters in the method
        are used to compute a $check value. The check value is computed as follows:
                        $check = md5($privateKey.$parameter)
       
        The $parameter is more often than not the $pin. However, there are a few methods
        were this is not the case. The jaduka.class.php has taken all of this into account on
        the behalf of the developer to make developing to the Jaduka API easier.
       
        Another fundamental change is the added support for the HTTP protocol in addition
        to supporting SOAP.

    */
       
$username = "";
       
$privateKey = "";
?>