mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(users): Add redis in Begin and Verify TOTP and create a new API that updates TOTP (#4765)
This commit is contained in:
		| @ -255,12 +255,11 @@ pub struct BeginTotpResponse { | ||||
| pub struct TotpSecret { | ||||
|     pub secret: Secret<String>, | ||||
|     pub totp_url: Secret<String>, | ||||
|     pub recovery_codes: Vec<Secret<String>>, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, serde::Deserialize, serde::Serialize)] | ||||
| pub struct VerifyTotpRequest { | ||||
|     pub totp: Option<Secret<String>>, | ||||
|     pub totp: Secret<String>, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, serde::Deserialize, serde::Serialize)] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Mani Chandra
					Mani Chandra