refactor(users): Changes for Home and Signout APIs for TOTP Redis flows (#4851)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Mani Chandra
2024-06-03 19:40:13 +05:30
committed by GitHub
parent 0cbb2928bd
commit d242850b63
3 changed files with 32 additions and 0 deletions

View File

@ -165,7 +165,10 @@ pub struct GetUserDetailsResponse {
#[serde(skip_serializing)]
pub user_id: String,
pub org_id: String,
pub is_two_factor_auth_setup: bool,
pub recovery_codes_left: Option<usize>,
}
#[derive(Debug, serde::Deserialize, serde::Serialize)]
pub struct GetUserRoleDetailsRequest {
pub email: pii::Email,