PHP Classes
elePHPant
Icontem

File: jApi_client/jApi_verify.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bijaya Kumar Behera  >  jApi RPC  >  jApi_client/jApi_verify.php  >  Download  
File: jApi_client/jApi_verify.php
Role: Example script
Content type: text/plain
Description: example file
Class: jApi RPC
Handle client and server API calls
Author: By
Last change: verify class inplemented
Date: 1 year ago
Size: 480 bytes
 

Contents

Class file image Download
<?php
    session_start
();
   
//
   
require_once("./jApi_config.php");
    require_once(
"./jApi_libs/src/jApi_verify.class.php");
   
$vf = (isset($_SESSION['AUTH']['uid']) && !empty($_SESSION['AUTH']['uid']) ? 1 : 0);
   
$jApiAuthRefreshToken = jApi_verify::verify($vf, session_id(), 12 , 60 * 60 * 60 * 89, array('uname' => 'User', 'msg' => 'You are most welcome') ) ;
   
$_SESSION['AUTH']['jApi_refresh_token'][jApi_auth_token] = $jApiAuthRefreshToken;
   
jApi_verify::redirect();
?>