fixer-m / snowflake-db-net-client

Snowflake .NET Client
Apache License 2.0
51 stars 14 forks source link

Add Oauth authentication for Azure AD SSO #38

Open amandoabreu opened 1 year ago

amandoabreu commented 1 year ago

Related to:

Not sure if the design pattern is the best. After getting to a certain point I did wish I had separated some stuff away from SnowflakeClient.cs into some sort of Authenticator class. Tests just mock the AzureAd response and make sure the new AzureAdAuthInfo can be instantiated. Integration tests are hard as it requires the specific setup.