refactor: allow testing of mocked providers via AuthRegistry creation, avoid creation of responses in auth

This commit is contained in:
Ryan Walters
2025-09-19 11:50:25 -05:00
parent 4a041a7695
commit 76985f6390
9 changed files with 89 additions and 33 deletions

View File

@@ -17,7 +17,7 @@ type OAuthClient =
BasicClient<oauth2::EndpointSet, oauth2::EndpointNotSet, oauth2::EndpointNotSet, oauth2::EndpointNotSet, oauth2::EndpointSet>;
pub struct AuthRegistry {
providers: HashMap<&'static str, Arc<dyn provider::OAuthProvider>>,
pub providers: HashMap<&'static str, Arc<dyn provider::OAuthProvider>>,
}
impl AuthRegistry {