Skip to content

OAuth2 scopes revamped - #141

Merged
tiangolo merged 6 commits into
masterfrom
oauth2-scopes-revamped
Apr 9, 2019
Merged

tiangolo merged 6 commits into
masterfrom
oauth2-scopes-revamped

Conversation

@tiangolo

@tiangolo tiangolo commented Apr 7, 2019

Copy link
Copy Markdown
Member

Upgrade OAuth2 Security handling, allowing to declare SecurityScopes, to get scopes of a security dependency or any of its dependants.

This is key for #57, and many other use cases.

@codecov

codecov Bot commented Apr 9, 2019

Copy link
Copy Markdown

Codecov Report

Merging #141 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #141    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files         147    149     +2     
  Lines        3619   3815   +196     
======================================
+ Hits         3619   3815   +196
Impacted Files Coverage Δ
fastapi/dependencies/utils.py 100% <100%> (ø) ⬆️
docs/src/security/tutorial005.py 100% <100%> (ø)
fastapi/security/oauth2.py 100% <100%> (ø) ⬆️
fastapi/security/__init__.py 100% <100%> (ø) ⬆️
fastapi/dependencies/models.py 100% <100%> (ø) ⬆️
...ts/test_tutorial/test_security/test_tutorial005.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a274d1...7e4049e. Read the comment docs.

@codecov

codecov Bot commented Apr 9, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #141 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #141    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files         147    149     +2     
  Lines        3619   3811   +192     
======================================
+ Hits         3619   3811   +192
Impacted Files Coverage Δ
fastapi/security/__init__.py 100% <100%> (ø) ⬆️
fastapi/dependencies/models.py 100% <100%> (ø) ⬆️
fastapi/dependencies/utils.py 100% <100%> (ø) ⬆️
docs/src/security/tutorial005.py 100% <100%> (ø)
...ts/test_tutorial/test_security/test_tutorial005.py 100% <100%> (ø)
fastapi/security/oauth2.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a274d1...7e4049e. Read the comment docs.

@tiangolo
tiangolo merged commit 7391056 into master Apr 9, 2019
@tiangolo
tiangolo deleted the oauth2-scopes-revamped branch April 9, 2019 19:30
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