aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorGreg Steuck <gnezdo@google.com>2021-07-28 11:11:03 -0700
committerDmitry Vyukov <dvyukov@google.com>2021-07-30 18:21:17 +0200
commita31eceb86df9acc2a471945de8e17fd53091f149 (patch)
tree289502087386a48293339cb071f277bf8f36e4b7 /pkg
parent5bfcec7dfd4ba51d38b41cea770ecc96e7e59d4d (diff)
syz-hub: support oauth authentication
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rpctype/rpctype.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go
index 8a7fe7aa6..b64fb1561 100644
--- a/pkg/rpctype/rpctype.go
+++ b/pkg/rpctype/rpctype.go
@@ -125,7 +125,8 @@ type NextExchangeRes struct {
type HubConnectArgs struct {
// Client/Key are used for authentication.
Client string
- Key string
+ // The key may be a secret password or the oauth token prefixed by "Bearer ".
+ Key string
// Manager name, must start with Client.
Manager string
// See pkg/mgrconfig.Config.HubDomain.