Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2: Remove app parameter from AzureAuthorizationCodeBearer, dependency now returns a User object #11

Merged
merged 3 commits into from
Aug 18, 2021

Conversation

JonasKs
Copy link
Member

@JonasKs JonasKs commented Aug 18, 2021

  • Remove app parameter from AzureAuthorizationCodeBearer. This requires the user to do some more configuration, but makes dependencies easier to make without circular imports
  • Add documentation and examples on how to do role checking
  • AzureAuthorizationCodeBearer now returns a User object
  • Add docs on how to load provider config on startup

…quires the user to do some more configuration, but makes dependencies easier to make without circular imports

- Add documentation and examples on how to do role checking
- `AzureAuthorizationCodeBearer` now returns a User object
- Add docs on how to load provider config on startup
- Add URL to image in README, for PyPI
@codecov
Copy link

codecov bot commented Aug 18, 2021

Codecov Report

Merging #11 (8bc02f9) into main (8122b19) will not change coverage.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files           4        4           
  Lines         126      130    +4     
=======================================
+ Hits          126      130    +4     
Impacted Files Coverage Δ
fastapi_azure_auth/__init__.py 100.0% <100.0%> (ø)
fastapi_azure_auth/auth.py 100.0% <100.0%> (ø)
fastapi_azure_auth/provider_config.py 100.0% <100.0%> (ø)
fastapi_azure_auth/user.py 100.0% <100.0%> (ø)

@JonasKs JonasKs merged commit db2d852 into main Aug 18, 2021
@JonasKs JonasKs deleted the remove_app_from_init branch August 27, 2021 14:27
nikstuckenbrock pushed a commit to nikstuckenbrock/fastapi-azure-auth that referenced this pull request Oct 16, 2023
v2: Remove `app` parameter from AzureAuthorizationCodeBearer, dependency now returns a User object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant