From 25dcb7dd51548e5a6f443c6bdcff949a1a3d9b32 Mon Sep 17 00:00:00 2001 From: nfel Date: Sun, 4 May 2025 11:12:37 +0330 Subject: [PATCH] v2: send -> process ( tfa req ) Signed-off-by: nfel --- auth/v1/srv.proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auth/v1/srv.proto b/auth/v1/srv.proto index 6c8d942..ad5c47f 100644 --- a/auth/v1/srv.proto +++ b/auth/v1/srv.proto @@ -30,8 +30,10 @@ service AuthorizationService { // Two Factor Authentication // For now it's only SMS-OTP - later will be Email-OTP or other methods can be // added For HMAC-OTP there won't be a need to call this api - rpc SendTFAReq(TFAReq) returns (base.v1.StatusRes) {} + rpc ProcessTFAReq(TFAReq) returns (base.v1.StatusRes) {} + // For HMAC-OTP an initialization step must be added to exchange keys rpc InitTFAReq(InternalIAM) returns (TFAExRes) {} + rpc CheckTFACode(CheckTFAReq) returns (base.v1.StatusRes) {} }