One Time Password Lifetime

Usually an OTP lasts forever, until the user logs off your app, but, to improve application safety, you may want to re-ask, only for the Google OTP, from time to time. So you can set a number of minutes here:

/*** Lifetime in minutes.* In case you need your users to be asked for a new one time passwords from time to time.*/'lifetime'=>0, // 0 = eternal

And you can decide whether your OTP will be kept alive while your users are browsing the site or not:

/** * Renew lifetime at every new request.*/'keep_alive'=>true,

Manually logging out from 2Fa

This command wil logout your user and redirect he/she to the 2FA form on the next request: