mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
- Reduce the duplicate code by merging the flows and determining the flow type by looking at the provided options. - Options as a function type allows us to validate an individual an option in its scope and makes it easier to compose the built-in options with the third-party ones.