add enum for TFA message #3

Merged
nfel merged 1 commits from tfa into v2 2024-12-09 10:58:37 +00:00
Showing only changes of commit 434f74756f - Show all commits

View File

@ -210,7 +210,13 @@ message CheckTFAReq {
} }
message TFA { message TFA {
string key = 1; OtpStateEnum state = 1;
int64 code = 2; int64 code = 2;
string transaction_id = 3; string transaction_id = 3;
} }
enum OtpStateEnum {
OPT_STATE_ENUM_UNSPECIFIED = 0;
LOGIN = 1;
PAYMENT = 2;
}