SaturnFramework / Saturn

Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
https://saturnframework.org
MIT License
715 stars 109 forks source link

Move OpenId Auth into the Authorization namespace #234

Closed ChrSteinert closed 4 years ago

ChrSteinert commented 4 years ago

While browsing the new and cool documentation I realized, that there is Saturn.Extensions.Authorization with members like use_google_oauth_with_config and Saturn.Extensions.OpenIdConnect with its only members use_open_id_auth_with_config.

I thought, maybe it would make sense to move the OpenIdConnect member over to Authorization as well? I know this would be a breaking change, but seems like it makes sense. The old member could forward to the new one and be marked with [<Obsoleted>] for a few releases?

Krzysztof-Cieslak commented 4 years ago

Yeah, sounds like a good idea.

ChrSteinert commented 4 years ago

Let me PR it ;)