Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Nov 13, 2023
1 parent 304f300 commit 6ad3b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiohttp_security/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from aiohttp_security.abc import AbstractAuthorizationPolicy, AbstractIdentityPolicy

IDENTITY_KEY = web.AppKey('aiohttp_security_identity_policy', AbstractIdentityPolicy)
AUTZ_KEY = web.AppKey('aiohttp_security_autz_policy', AbstractAuthorizationPolicy)
IDENTITY_KEY = web.AppKey("aiohttp_security_identity_policy", AbstractIdentityPolicy)
AUTZ_KEY = web.AppKey("aiohttp_security_autz_policy", AbstractAuthorizationPolicy)

# _AIP/_AAP are shorthand for Optional[policy] when we retrieve from request.
_AAP = Optional[AbstractAuthorizationPolicy]
Expand Down

0 comments on commit 6ad3b55

Please sign in to comment.