mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(users): Create terminate 2fa API (#4731)
This commit is contained in:
@ -224,6 +224,11 @@ pub struct TokenOnlyQueryParam {
|
||||
pub token_only: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct SkipTwoFactorAuthQueryParam {
|
||||
pub skip_two_factor_auth: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct TokenResponse {
|
||||
pub token: Secret<String>,
|
||||
|
||||
Reference in New Issue
Block a user