Dynamic two factor added - over the air otp + totp

This commit is contained in:
2024-09-09 12:21:22 +03:30
parent 016219f1da
commit b3e04457f6
2 changed files with 36 additions and 1 deletions
+8
View File
@@ -25,4 +25,12 @@ service AuthorizationService {
rpc UserUpdateBankInfo(UserUpdateBankInfoReq) returns (base.StatusRes) {}
rpc GetUser(GetUserReq) returns (User) {}
// 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.StatusRes) {}
// For HMAC-OTP an initialization step must be added to exchange keys
rpc InitTFAReq(InternalIAM) returns (TFAExRes) {}
rpc CheckTFACode(CheckTFAReq) returns (base.StatusRes) {}
}