PluginProbe
ShiftController Employee Shift Scheduling / trunk
ShiftController Employee Shift Scheduling vtrunk
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
shiftcontroller / hc3 / _interface / iauth.php

iauth.php in ShiftController Employee Shift Scheduling trunk, at hc3/_interface/iauth.php

23 lines 546 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
2 interface HC3_IAuth
3 {
4 public function getCurrentUserId();
5 public function getCurrentUser();
6
7 public function getUserByToken( $token );
8 public function getTokenByUser( HC3_Users_Model $user );
9
10 // public function findByToken( $token )
11 // {
12 // $return = NULL;
13
14 // $args = array();
15 // $args[] = array('token', '=', $token);
16
17 // if( $array = $this->self->read( $args ) ){
18 // $return = array_shift( $array );
19 // }
20 // return $return;
21 // }
22
23 }