UsersModelUser::getOtpConfig
Returns the one time password (OTP) – a.k.a. two factor authentication – configuration for a particular user.
Signature
public function getOtpConfig([integer
$user_id = null] )
Parameters
-
$user_id
- The numeric ID of the user
Returns
- stdClass
- An object holding the OTP configuration for this user