コード例 #1
0
ファイル: totp.php プロジェクト: XelaRellum/tt-rss
 public function __construct($s, $opt = array())
 {
     $this->interval = isset($opt['interval']) ? $opt['interval'] : 30;
     parent::__construct($s, $opt);
 }
コード例 #2
0
ファイル: TOTP.php プロジェクト: HashBinary/hashbrown
 public function __construct()
 {
     parent::__construct();
     $this->setInterval(30);
 }
コード例 #3
0
ファイル: HOTP.php プロジェクト: AlphaPipe/otphp
 public function __construct()
 {
     parent::__construct();
     $this->setCounter(0);
 }