[nsOTP] element index

All elements
a c d g i l m o p s _
_
top
__construct
OTPUser's Constructor
a
top
$atc
OTPUser::$atc in OTPLib.php
c
top
connectDB
OTPDB::connectDB() in OTPLib.php
Connects to DB. Internal use only.
d
top
delete
OTPUser::delete() in OTPLib.php
Deletes the current user from DB.
g
top
getOTPWebApp
Build the OTP "WebApp", that can be used on (maybe) any HTML5 web browser. works very well with (Mobile)Safari
i
top
initDB
OTPDB::initDB() in OTPLib.php
Initialize DB. Normally should be used only once, when initializing OTP app.
isValidOTP
OTPUser::isValidOTP() in OTPLib.php
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)
isValidPassword
Checks if the given password is valid. Should be used mostly for enrollment issues.
l
top
$login
OTPUser::$login in OTPLib.php
listUserLogins
Lists the OTP app users from the local DB.
m
top
$mode
OTPUser::$mode in OTPLib.php
o
top
$otpkey
OTPUser::$otpkey in OTPLib.php
OTPDB
OTPDB in OTPLib.php
Utility class to access the DB
OTPLib.php
OTPLib.php in OTPLib.php
OTPUser
OTPUser in OTPLib.php
The main class: this class defines the OTP User
p
top
$password
OTPUser::$password in OTPLib.php
$pin_hash
OTPUser::$pin_hash in OTPLib.php
s
top
save
OTPUser::save() in OTPLib.php
Saves the current User to DB. Will create the user in DB or update it automatically.
setOTPKey
OTPUser::setOTPKey() in OTPLib.php
Sets the User's OTP Key. Used only for enrollment/account creation purposes. The provided data are used to diversify the master key.
setPassword
Sets the User's enrollment/static password. Used only for account creation purposes.
setPin
OTPUser::setPin() in OTPLib.php
Sets the User's OTP PIN. Used only for enrollment/account creation purposes.
a c d g i l m o p s _