VihvLCC  3.0.0
AuthorizationManager Class Reference

Static Public Member Functions

static GetUniqueId ()
 
static SetUniqueId ($UID)
 
static DropUniqueId ()
 
static IsLogged ()
 

Data Fields

const ANONYMOUS = "Anonymous"
 

Detailed Description

service manage information about current user, login and logout

Member Function Documentation

static DropUniqueId ( )
static

drop unique id, aka logout

static GetUniqueId ( )
static
Returns
any unique identificator of user, most likely - login or user id from database
static IsLogged ( )
static
Returns
boolean true if user uid is set (user is logged)
static SetUniqueId (   $UID)
static

set unique identificator of user

Parameters
any$UIDin most cases - used id from database, but can be anything

Field Documentation

const ANONYMOUS = "Anonymous"

The documentation for this class was generated from the following file: