Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
OTPHP
TOTPInterface
PHP Interface OTPHP\TOTPInterface
Inheritance:
extends
otphp\OTPInterface
Mostrar archivo
Open project: spomky-labs/otphp
Public Methods
Method
Description
getPeriod
( ) :
integer
now
( ) :
string
Method Details
getPeriod()
public
method
public
getPeriod
( ) :
integer
return
integer
Get the period of time for OTP generation (a non-null positive integer, in second)
now()
public
method
public
now
( ) :
string
return
string
Return the TOTP at the current time