Closed Necoro closed 1 year ago
Generalize the two_factor function to allow for different Providers. The login function now holds a list of supported providers that it tests in turn. The list should probably adhere to https://bitwarden.com/help/setup-two-step-login/#using-multiple-methods.
two_factor
login
Closes #90.
NB: This is the first time I write Rust code, so please review.
Generalize the
two_factor
function to allow for different Providers. Thelogin
function now holds a list of supported providers that it tests in turn. The list should probably adhere to https://bitwarden.com/help/setup-two-step-login/#using-multiple-methods.Closes #90.
NB: This is the first time I write Rust code, so please review.