v2: send -> process ( tfa req )
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
6411b174f3
commit
25dcb7dd51
@ -30,8 +30,10 @@ service AuthorizationService {
|
|||||||
// Two Factor Authentication
|
// Two Factor Authentication
|
||||||
// For now it's only SMS-OTP - later will be Email-OTP or other methods can be
|
// 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
|
// 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
|
// For HMAC-OTP an initialization step must be added to exchange keys
|
||||||
rpc InitTFAReq(InternalIAM) returns (TFAExRes) {}
|
rpc InitTFAReq(InternalIAM) returns (TFAExRes) {}
|
||||||
|
|
||||||
rpc CheckTFACode(CheckTFAReq) returns (base.v1.StatusRes) {}
|
rpc CheckTFACode(CheckTFAReq) returns (base.v1.StatusRes) {}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user