v2: send -> process ( tfa req )

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-05-04 11:12:37 +03:30
parent 6411b174f3
commit 25dcb7dd51
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

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