feat: core changes for extended authorization (#6766)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Hrithikesh
2025-03-21 17:08:02 +05:30
committed by GitHub
parent fb8cba0701
commit c3c4f50fcf
26 changed files with 340 additions and 29 deletions

View File

@ -1,5 +1,7 @@
use std::collections::{HashMap, HashSet};
#[cfg(feature = "v1")]
use common_types::primitive_wrappers::AlwaysRequestExtendedAuthorization;
use common_utils::{
consts,
crypto::Encryptable,
@ -8,10 +10,7 @@ use common_utils::{
id_type, link_utils, pii,
};
#[cfg(feature = "v1")]
use common_utils::{
crypto::OptionalEncryptableName, ext_traits::ValueExt,
types::AlwaysRequestExtendedAuthorization,
};
use common_utils::{crypto::OptionalEncryptableName, ext_traits::ValueExt};
#[cfg(feature = "v2")]
use masking::ExposeInterface;
use masking::{PeekInterface, Secret};