Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
f23d1251b5
|
|||
|
5eb260df3a
|
|||
|
72cb1d8117
|
|||
|
0cd6107abe
|
|||
|
4b1ff1c31d
|
|||
| 5df728fd9c |
+11
-3
@@ -194,6 +194,8 @@ message TFAReq {
|
|||||||
optional string mobile = 2;
|
optional string mobile = 2;
|
||||||
optional string email = 3;
|
optional string email = 3;
|
||||||
optional string reason = 4; // issued jwt reason -> can be login, redeem, withdrawal
|
optional string reason = 4; // issued jwt reason -> can be login, redeem, withdrawal
|
||||||
|
optional string transaction_id = 5;
|
||||||
|
optional TfaStateEnum state = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Two Factor Authentication Exchange Response
|
// Two Factor Authentication Exchange Response
|
||||||
@@ -205,8 +207,11 @@ message TFAExRes {
|
|||||||
message CheckTFAReq {
|
message CheckTFAReq {
|
||||||
InternalIAM iam = 1;
|
InternalIAM iam = 1;
|
||||||
string code = 2;
|
string code = 2;
|
||||||
optional string algorithm = 3;
|
TFAReq req = 3;
|
||||||
optional string reason = 4; // Can be later used as a lookup
|
// optional string algorithm = 3;
|
||||||
|
// optional string reason = 4; // Can be later used as a lookup
|
||||||
|
// optional string transaction_id = 5;
|
||||||
|
// optional TfaStateEnum state = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
message TFA {
|
message TFA {
|
||||||
@@ -220,13 +225,16 @@ enum TfaStateEnum {
|
|||||||
LOGIN = 1;
|
LOGIN = 1;
|
||||||
INTERNAL_TRANSFER = 2;
|
INTERNAL_TRANSFER = 2;
|
||||||
EXTERNAL_TRANSFER = 3;
|
EXTERNAL_TRANSFER = 3;
|
||||||
|
REDEEM_TOKEN = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Recipient {
|
message Recipient {
|
||||||
string key = 1;
|
string key = 1;
|
||||||
optional string first_name = 2;
|
optional string first_name = 2;
|
||||||
optional string last_name = 3;
|
optional string last_name = 3;
|
||||||
optional string public_key = 4;
|
optional int64 user_id = 4;
|
||||||
|
optional string public_key = 5;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message LookUpNameReq {
|
message LookUpNameReq {
|
||||||
|
|||||||
@@ -302,6 +302,7 @@ message InternalTransferAssetReq {
|
|||||||
message InternalTransferAssetRes {
|
message InternalTransferAssetRes {
|
||||||
auth.v1.Recipient recipient = 1;
|
auth.v1.Recipient recipient = 1;
|
||||||
double amount = 2;
|
double amount = 2;
|
||||||
|
// TODO: Change to Asset
|
||||||
string transaction_id = 3;
|
string transaction_id = 3;
|
||||||
string transaction_hash = 4;
|
string transaction_hash = 4;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user