mirror of https://github.com/tiangolo/fastapi.git
✏️ Fix typo in `docs/en/docs/reference/dependencies.md` (#10465)
This commit is contained in:
parent
4bd1430677
commit
6dac39dbca
|
|
@ -18,7 +18,7 @@ from fastapi import Depends
|
||||||
## `Security()`
|
## `Security()`
|
||||||
|
|
||||||
For many scenarios, you can handle security (authorization, authentication, etc.) with
|
For many scenarios, you can handle security (authorization, authentication, etc.) with
|
||||||
dependendencies, using `Depends()`.
|
dependencies, using `Depends()`.
|
||||||
|
|
||||||
But when you want to also declare OAuth2 scopes, you can use `Security()` instead of
|
But when you want to also declare OAuth2 scopes, you can use `Security()` instead of
|
||||||
`Depends()`.
|
`Depends()`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue