mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-14 08:12:20 -06:00
feat: users table with sqlx, migrations, data persistence
This commit is contained in:
@@ -57,7 +57,7 @@ impl AuthRegistry {
|
||||
self.providers.get(id)
|
||||
}
|
||||
|
||||
pub fn iter(&self) -> impl Iterator<Item = (&'static str, &Arc<dyn provider::OAuthProvider>)> {
|
||||
self.providers.iter().map(|(k, v)| (*k, v))
|
||||
pub fn values(&self) -> impl Iterator<Item = &Arc<dyn provider::OAuthProvider>> {
|
||||
self.providers.values()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user