The main class: this class defines the OTP User
Located in /OTPLib.php (line 19)
OTPUser's Constructor
Deletes the current user from DB.
Build the OTP "WebApp", that can be used on (maybe) any HTML5 web browser. works very well with (Mobile)Safari
Checks if given OTP is valid. It tries to compute OTP for ATC values in current_atc<ATC<current_ATC+max_offset (where max_offset is in config.ini)
Checks if the given password is valid. Should be used mostly for enrollment issues.
Saves the current User to DB. Will create the user in DB or update it automatically.
Sets the User's OTP Key. Used only for enrollment/account creation purposes. The provided data are used to diversify the master key.
Sets the User's enrollment/static password. Used only for account creation purposes.
Sets the User's OTP PIN. Used only for enrollment/account creation purposes.
Documentation generated on Thu, 09 Apr 2009 21:46:00 +0200 by phpDocumentor 1.4.1