Skip to content

Commit

Permalink
Add missing imports to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel authored and frankie567 committed May 15, 2024
1 parent 872a184 commit f6a1a8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/fastapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Dependency callable to handle the authorization callback. It reads the query par
You should either set `route_name`, which will automatically reverse the URL, or `redirect_url`, which is an arbitrary URL you set.

```py
from fastapi import FastAPI, Depends
from httpx_oauth.integrations.fastapi import OAuth2AuthorizeCallback
from httpx_oauth.oauth2 import OAuth2

Expand Down

0 comments on commit f6a1a8c

Please sign in to comment.