mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(api_models): add api_models for external 3ds authentication flow (#3858)
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
03cfb735af
commit
0a43ceb14e
@ -150,6 +150,25 @@ impl Connector {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Eq,
|
||||
Hash,
|
||||
PartialEq,
|
||||
serde::Serialize,
|
||||
serde::Deserialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum AuthenticationConnectors {
|
||||
Threedsecureio,
|
||||
}
|
||||
|
||||
#[cfg(feature = "payouts")]
|
||||
#[derive(
|
||||
Clone,
|
||||
@ -552,3 +571,7 @@ pub enum PmAuthConnectors {
|
||||
pub fn convert_pm_auth_connector(connector_name: &str) -> Option<PmAuthConnectors> {
|
||||
PmAuthConnectors::from_str(connector_name).ok()
|
||||
}
|
||||
|
||||
pub fn convert_authentication_connector(connector_name: &str) -> Option<AuthenticationConnectors> {
|
||||
AuthenticationConnectors::from_str(connector_name).ok()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user