mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(users): setup user authentication methods schema and apis (#4999)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Mani Chandra Dulam <mani.dchandra@juspay.in>
This commit is contained in:
@ -58,6 +58,8 @@ pub struct MockDb {
|
||||
pub authentications: Arc<Mutex<Vec<store::authentication::Authentication>>>,
|
||||
pub roles: Arc<Mutex<Vec<store::role::Role>>>,
|
||||
pub user_key_store: Arc<Mutex<Vec<store::user_key_store::UserKeyStore>>>,
|
||||
pub user_authentication_methods:
|
||||
Arc<Mutex<Vec<store::user_authentication_method::UserAuthenticationMethod>>>,
|
||||
}
|
||||
|
||||
impl MockDb {
|
||||
@ -102,6 +104,7 @@ impl MockDb {
|
||||
authentications: Default::default(),
|
||||
roles: Default::default(),
|
||||
user_key_store: Default::default(),
|
||||
user_authentication_methods: Default::default(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user