- Improve/upgrade OAuth2 scopes support with
SecurityScopes
:SecurityScopes
can be declared as a parameter likeRequest
, to get the scopes of all super-dependencies/dependants.- Improve
Security
handling, merging scopes when declaringSecurityScopes
. - Allow using
SecurityBase
(likeOAuth2
) classes withDepends
and still document them.Security
now is needed only to declarescopes
. - Updated docs about: OAuth2 with Password (and hashing), Bearer with JWT tokens.
- New docs about: OAuth2 scopes.
- PR #141.