feat(authentication): added authentication sync api (#8596)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sahkal Poddar
2025-07-31 12:50:43 +05:30
committed by GitHub
parent c38ce386bd
commit 794dce168e
17 changed files with 1283 additions and 97 deletions

View File

@ -7508,6 +7508,15 @@ pub enum TransactionStatus {
InformationOnly,
}
impl TransactionStatus {
pub fn is_pending(self) -> bool {
matches!(
self,
Self::ChallengeRequired | Self::ChallengeRequiredDecoupledAuthentication
)
}
}
#[derive(
Clone,
Copy,