This function will generate the list of tasks to perform during this
login and will redirect to the login tasks page if necessary. This is
the function that should be called from the application upon login.
public runTasks ( array $opts = [] ) : mixed | ||
$opts | array | Options: - confirmed: (array) The list of confirmed tasks. - url: (string) The URL to redirect to when finished. - user_confirmed: (boolean) If true, indicates that any pending actions have been confirmed by the user. |
return | mixed | Null in case no redirection took place, the return value from the backend redirect() call otherwise. |