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) {} }