mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(core): Add uas framework support (#6743)
Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com>
This commit is contained in:
@ -152,6 +152,10 @@ pub enum AuthenticationUpdate {
|
||||
PostAuthorizationUpdate {
|
||||
authentication_lifecycle_status: common_enums::AuthenticationLifecycleStatus,
|
||||
},
|
||||
AuthenticationStatusUpdate {
|
||||
trans_status: common_enums::TransactionStatus,
|
||||
authentication_status: common_enums::AuthenticationStatus,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, AsChangeset, Serialize, Deserialize)]
|
||||
@ -418,6 +422,14 @@ impl From<AuthenticationUpdate> for AuthenticationUpdateInternal {
|
||||
connector_metadata,
|
||||
..Default::default()
|
||||
},
|
||||
AuthenticationUpdate::AuthenticationStatusUpdate {
|
||||
trans_status,
|
||||
authentication_status,
|
||||
} => Self {
|
||||
trans_status: Some(trans_status),
|
||||
authentication_status: Some(authentication_status),
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user