When using this as a library, it will allow a more flexible login process by separating the polling ID retrieval from the automatic polling. You can now call request_polling_id to get the polling ID, wait for the user to click the link in the email, and then call complete_login_with_polling_id with the polling ID to obtain the tokens. This change maintains backward compatibility by using these new methods within the existing login method.
When using this as a library, it will allow a more flexible login process by separating the polling ID retrieval from the automatic polling. You can now call
request_polling_id
to get the polling ID, wait for the user to click the link in the email, and then callcomplete_login_with_polling_id
with the polling ID to obtain the tokens. This change maintains backward compatibility by using these new methods within the existinglogin
method.Related to issue #306