Dynamic two factor added - over the air otp + totp
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user