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