Merge pull request 'add enum for TFA message' (#3) from tfa into v2
Reviewed-on: https://git.kahrobatoken.com/Kahroba/proto/pulls/3
This commit is contained in:
commit
114de30b57
@ -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;
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user