-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
Aydan Coskun edited this page Nov 29, 2019
·
1 revision
- Class name: Authentication
- Namespace:
protected mixed $name = 'SessionID'
- Visibility: protected
protected mixed $idle = 14400
- Visibility: protected
protected mixed $expire_session
- Visibility: protected
protected mixed $type_id = 800
- Visibility: protected
protected mixed $object_id = NULL
- Visibility: protected
protected mixed $session_id = NULL
- Visibility: protected
protected mixed $ip_address = NULL
- Visibility: protected
protected mixed $created_date = NULL
- Visibility: protected
protected mixed $updated_date = NULL
- Visibility: protected
protected mixed $obj = NULL
- Visibility: protected
mixed Authentication::__construct()
Authentication constructor.
- Visibility: public
boolean|mixed Authentication::getNameByTypeId(integer $type_id)
- Visibility: public
- $type_id integer
boolean|mixed Authentication::getName(boolean $type_id)
- Visibility: public
- $type_id boolean
boolean Authentication::isUser(boolean $type_id)
- Visibility: public
- $type_id boolean
boolean|integer Authentication::getTypeIDByName($type)
- Visibility: public
- $type mixed
integer Authentication::getType()
- Visibility: public
boolean Authentication::setType(integer $type_id)
- Visibility: public
- $type_id integer
null Authentication::getIPAddress()
- Visibility: public
boolean Authentication::setIPAddress(null $ip_address)
- Visibility: public
- $ip_address null
integer Authentication::getIdle()
- Visibility: public
boolean Authentication::setIdle($secs)
- Visibility: public
- $secs mixed
mixed Authentication::getEnableExpireSession()
- Visibility: public
boolean Authentication::setEnableExpireSession($bool)
- Visibility: public
- $bool mixed
null Authentication::getCreatedDate()
- Visibility: public
boolean Authentication::setCreatedDate(integer $epoch)
- Visibility: public
- $epoch integer - EPOCH
null Authentication::getUpdatedDate()
- Visibility: public
boolean Authentication::setUpdatedDate(integer $epoch)
- Visibility: public
- $epoch integer - EPOCH
null Authentication::newSession(string $object_id, null $ip_address)
Duplicates existing session with a new SessionID. Useful for multiple logins with the same or different users.
- Visibility: public
- $object_id string - UUID
- $ip_address null
boolean Authentication::changeObject(string $object_id)
- Visibility: public
- $object_id string - UUID
boolean Authentication::getObjectByID(string $id)
- Visibility: public
- $id string - UUID
boolean|null Authentication::getObject()
- Visibility: public
boolean Authentication::setObject($object)
- Visibility: public
- $object mixed
null Authentication::getObjectID()
- Visibility: public
boolean Authentication::setObjectID(string $id)
- Visibility: public
- $id string - UUID
mixed Authentication::getSecureSessionID()
- Visibility: public
string Authentication::encryptSessionID(string $session_id)
- Visibility: public
- $session_id string - UUID
null Authentication::getSessionID()
- Visibility: public
boolean Authentication::setSessionID(string $session_id)
- Visibility: public
- $session_id string - UUID
string Authentication::genSessionID()
- Visibility: private
boolean Authentication::setCookie(boolean $type_id)
- Visibility: private
- $type_id boolean
boolean Authentication::destroyCookie()
- Visibility: private
boolean Authentication::UpdateLastLoginDate()
- Visibility: private
boolean Authentication::Update()
- Visibility: private
boolean Authentication::Delete()
- Visibility: private
boolean Authentication::Write()
- Visibility: private
boolean Authentication::Read()
- Visibility: private
boolean Authentication::getHTTPAuthenticationUsername()
- Visibility: public
mixed Authentication::HTTPAuthenticationHeader()
- Visibility: public
boolean Authentication::loginHTTPAuthentication()
- Visibility: public
boolean Authentication::Login($user_name, $password, string $type)
- Visibility: public
- $user_name mixed
- $password mixed
- $type string
boolean Authentication::Logout()
- Visibility: public
boolean Authentication::Check(string $session_id, string $type, boolean $touch_updated_date)
- Visibility: public
- $session_id string - UUID
- $type string
- $touch_updated_date boolean
boolean Authentication::logoutCompany(string $company_id)
- Visibility: public
- $company_id string - UUID
boolean Authentication::logoutUser(string $object_id)
- Visibility: public
- $object_id string - UUID
mixed Authentication::getCompanyObject($user_name, $type)
- Visibility: public
- $user_name mixed
- $type mixed
boolean Authentication::checkCompanyStatus($user_name)
- Visibility: public
- $user_name mixed
boolean Authentication::checkUsername($user_name)
- Visibility: public
- $user_name mixed
boolean Authentication::checkPassword($user_name, $password)
- Visibility: public
- $user_name mixed
- $password mixed
boolean Authentication::checkPhonePassword(integer $phone_id, $password)
- Visibility: public
- $phone_id integer
- $password mixed
boolean Authentication::checkApplicantPassword($user_name, $password)
- Visibility: public
- $user_name mixed
- $password mixed
boolean Authentication::checkIButton(string $id)
- Visibility: public
- $id string - UUID
boolean Authentication::checkBarcode(string $object_id, $employee_number)
- Visibility: public
- $object_id string - UUID
- $employee_number mixed
boolean Authentication::checkFingerPrint(string $id)
- Visibility: public
- $id string - UUID
boolean Authentication::checkClientPC($user_name)
- Visibility: public
- $user_name mixed