cds-snc / sre-bot

Slack bot for site reliability engineering
MIT License
6 stars 0 forks source link

Adding a login required decorator to secure certain api endpoings #563

Closed sylviamclaughlin closed 2 months ago

sylviamclaughlin commented 2 months ago

Summary | Résumé

Adding a login required decorator so that we can secure certain API endpoints. If we add this decorator to an API endpoint, the user has to be logged in, in order to use that particular endpoint.