diff options
| author | Greg Steuck <gnezdo@google.com> | 2021-06-15 16:20:55 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-07-14 07:16:41 +0200 |
| commit | 38c3a6bda5cb059d6b4ba450e7dcacafd96370cf (patch) | |
| tree | 2a7311bd5039672f62e92e49ae47ba3ba0171128 /dashboard/dashapi/dashapi.go | |
| parent | 484502bddac5f2c0fc591227b634da2f7f42dbf0 (diff) | |
dashboard/app: server-side support for OAuth /api authentication
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 1eb536404..cdd557994 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -561,6 +561,10 @@ const ( ReportBisectFix // Fix bisection result for an already reported bug. ) +const ( + DashboardAudience = "https://syzkaller.appspot.com/api" +) + func (dash *Dashboard) Query(method string, req, reply interface{}) error { if dash.logger != nil { dash.logger("API(%v): %#v", method, req) |
