Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
AbstractAuthtokens Class Reference

Ubiquity\security\auth\models$AbstractAuthtokens This class is part of Ubiquity. More...

Public Member Functions

 __construct ()
 
 getId ()
 
 setId ($id)
 
 getSelector ()
 
 setSelector ($selector)
 
 getHashedValidator ()
 
 setHashedValidator ($hashedValidator)
 
 getUserid ()
 
 setUserid ($userid)
 
 getExpires ()
 
 setExpires ($expires)
 
 setDuration ($duration)
 
 isExpired ()
 
 checkValidator ($validator)
 
 getUser ()
 
 setUser ($user)
 
 __toString ()
 

Protected Attributes

 $id
 @id @column("name"=>"id","nullable"=>false,"dbType"=>"int(11)") @validator("id","constraints"=>array("autoinc"=>true))
 
 $selector
 @column("name"=>"selector","nullable"=>false,"dbType"=>"char(24)") @validator("length","constraints"=>array("max"=>24,"notNull"=>true))
 
 $hashedValidator
 @column("name"=>"hashedValidator","nullable"=>false,"dbType"=>"char(64)") @validator("length","constraints"=>array("max"=>64,"notNull"=>true))
 
 $userid
 @column("name"=>"userid","nullable"=>false,"dbType"=>"int(11)") @validator("notNull")
 
 $expires
 @column("name"=>"expires","nullable"=>true,"dbType"=>"datetime") @validator("type","dateTime") @transformer("datetime")
 

Detailed Description

Ubiquity\security\auth\models$AbstractAuthtokens This class is part of Ubiquity.

Author
jc
Version
1.0.0

Definition at line 12 of file AbstractAuthtokens.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 51 of file AbstractAuthtokens.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 122 of file AbstractAuthtokens.php.

◆ checkValidator()

checkValidator (   $validator)

Definition at line 106 of file AbstractAuthtokens.php.

◆ getExpires()

getExpires ( )

Definition at line 89 of file AbstractAuthtokens.php.

◆ getHashedValidator()

getHashedValidator ( )

Definition at line 73 of file AbstractAuthtokens.php.

◆ getId()

getId ( )

Definition at line 57 of file AbstractAuthtokens.php.

◆ getSelector()

getSelector ( )

Definition at line 65 of file AbstractAuthtokens.php.

◆ getUser()

getUser ( )
abstract
Returns
mixed

◆ getUserid()

getUserid ( )

Definition at line 81 of file AbstractAuthtokens.php.

◆ isExpired()

isExpired ( )

Definition at line 102 of file AbstractAuthtokens.php.

◆ setDuration()

setDuration (   $duration)

Definition at line 97 of file AbstractAuthtokens.php.

◆ setExpires()

setExpires (   $expires)

Definition at line 93 of file AbstractAuthtokens.php.

◆ setHashedValidator()

setHashedValidator (   $hashedValidator)

Definition at line 77 of file AbstractAuthtokens.php.

◆ setId()

setId (   $id)

Definition at line 61 of file AbstractAuthtokens.php.

◆ setSelector()

setSelector (   $selector)

Definition at line 69 of file AbstractAuthtokens.php.

◆ setUser()

setUser (   $user)
abstract
Parameters
mixed$user

◆ setUserid()

setUserid (   $userid)

Definition at line 85 of file AbstractAuthtokens.php.

Field Documentation

◆ $expires

$expires
protected

@column("name"=>"expires","nullable"=>true,"dbType"=>"datetime") @validator("type","dateTime") @transformer("datetime")

Definition at line 49 of file AbstractAuthtokens.php.

◆ $hashedValidator

$hashedValidator
protected

@column("name"=>"hashedValidator","nullable"=>false,"dbType"=>"char(64)") @validator("length","constraints"=>array("max"=>64,"notNull"=>true))

Definition at line 34 of file AbstractAuthtokens.php.

◆ $id

$id
protected

@id @column("name"=>"id","nullable"=>false,"dbType"=>"int(11)") @validator("id","constraints"=>array("autoinc"=>true))

Definition at line 20 of file AbstractAuthtokens.php.

◆ $selector

$selector
protected

@column("name"=>"selector","nullable"=>false,"dbType"=>"char(24)") @validator("length","constraints"=>array("max"=>24,"notNull"=>true))

Definition at line 27 of file AbstractAuthtokens.php.

◆ $userid

$userid
protected

@column("name"=>"userid","nullable"=>false,"dbType"=>"int(11)") @validator("notNull")

Definition at line 41 of file AbstractAuthtokens.php.


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