add auth middleware

This commit is contained in:
2025-03-25 15:07:49 -03:00
parent 317c79cee2
commit cd6fdd58ad
12 changed files with 176 additions and 36 deletions

View File

@@ -0,0 +1,11 @@
from aws_lambda_powertools.event_handler.api_gateway import Router
router = Router()
@router.get('/')
def settings():
user = router.context['user']
print(user.email_verified)
return {}