SatelCreative / spylib

A library to facilitate interfacing with Shopify's API
https://satelcreative.github.io/spylib
MIT License
3 stars 2 forks source link

Separate FastAPI specific and framework agnostic code for OAuth #130

Closed hillairet closed 2 years ago

hillairet commented 2 years ago

As a first step towards redesigning the oauth #93, let's start by having the FastAPI specific code isolated such that:

from spylib.oauth.fastapi import init_oauth_router

All the framework agnostic code will be available using from spylib.oauth import ...

Only 2 files need to change in /oauth: