oncall-engine/engine/apps/auth_token
Michael Derynck 0dfa882a06
Return API URL as part of status (#2791)
# What this PR does
- Provide API URL when returning status to inform plugin or mobile app
if it should be talking to a different backend in case of migration.
- Add MobileAppAuthTokenAuthentication to status endpoint so that the
app can use it.
- Split PluginAuthentication (Checks user) and BasePluginAuthentication
(Does not check user) and use BasePluginAuthentication in grafana-plugin
app when getting status.
- Removed PluginTokenVerified since it can be handled by
BasePluginAuthentication.
- Removed deprecated endpoints from grafana-plugin app. 

## Which issue(s) this PR fixes

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-08-22 17:17:26 +00:00
..
migrations add missing database migrations 2023-07-05 18:27:56 +02:00
models re-enable mypy GitHub Actions CI job (#2390) 2023-06-29 14:01:52 +00:00
tests Improve plugin authentication (#1995) 2023-05-23 16:13:25 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth.py Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00
constants.py Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
crypto.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
exceptions.py World, meet OnCall! 2022-06-03 08:09:47 -06:00