mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Improve 2FA/PIN flow: prefill + clearer failure
This commit is contained in:
parent
62a49644a5
commit
2082ef1422
4 changed files with 68 additions and 9 deletions
|
|
@ -45,7 +45,9 @@ public:
|
|||
|
||||
// Authentication
|
||||
void authenticate(const std::string& username, const std::string& password);
|
||||
void authenticate(const std::string& username, const std::string& password, const std::string& pin);
|
||||
void authenticateWithHash(const std::string& username, const std::vector<uint8_t>& authHash);
|
||||
void authenticateWithHash(const std::string& username, const std::vector<uint8_t>& authHash, const std::string& pin);
|
||||
// Optional: when the auth server requires a PIN (securityFlags & 0x01), call this to continue.
|
||||
// PIN must be 4-10 digits.
|
||||
void submitPin(const std::string& pin);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue