Tokens_model

Extends \CI_Model

This model file maintains tables of application informations

Functions available :-

    function __construct() - class constructor
    function exists() - checks for existing primary key
    function save_token_data() - saves generated token data
    function get_uaacs_data() - gets app uaacs data for a given token
package

AIR\Models\Tokens_model

author

Mohamed Ruzaik Mohamed Roshan roshan@ekwa.com

version

V2.7.0

created

Jun 5, 2014

Methods

Abstract __construct function

__construct() 

Class constructor

exists($primekey)

exists(\arrau $primekey) : boolean

This function checks for duplicate records with given data

Arguments

$primekey

\arrau

Response

boolean

get_uaacs_data($token)

get_uaacs_data(string $token) 

This function gets token related info data from table for given token

Arguments

$token

string

save_token_data($data)

save_token_data(array $data) : integer

This function saves given data array in ar_tokens table

Arguments

$data

array

Response

integer

affected rows