final public static function setUserOtpToken (string $username, string $tokenValue)
	{
		// Check if user exists in database before setting OTP Token
		// Sets user OTP token to a session
		// i'm not storing it in a database to make it more secure cause its an OTP...

		if ($username) {
			$tokenTime 						= time(); 
			$_SESSION['otp_token'] 			= $tokenValue;
			$_SESSION['otp_token_time'] 	= $tokenTime;
			return $tokenValue;
		} else {
			return FALSE;
		}		
	}
final public static function setUserOtpToken (string $username, string $tokenValue)
	{
		// Check if user exists in database before setting OTP Token
		// Sets user OTP token to a session
		// i'm not storing it in a database to make it more secure cause its an OTP...

		if ($username) {
			$tokenTime 						= time(); 
			$_SESSION['otp_token'] 			= $tokenValue;
			$_SESSION['otp_token_time'] 	= $tokenTime;
			return $tokenValue;
		} else {
			return FALSE;
		}		
	}
final public static function setUserOtpToken ( string $ username , string $ tokenValue ) { // Check if user exists in database before setting OTP Token // Sets user OTP token to a session // i'm not storing it in a database to make it more secure cause its an OTP... if ( $ username ) { $ tokenTime = time ( ) ; $ _SESSION [ 'otp_token' ] = $ tokenValue ; $ _SESSION [ 'otp_token_time' ] = $ tokenTime ; return $ tokenValue ; } else { return FALSE ; } }
Sets user OTP token to a session...
@param string $username
@param string $tokenValue
@return mixed
Sets user OTP token to a session ...