From a31eceb86df9acc2a471945de8e17fd53091f149 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Wed, 28 Jul 2021 11:11:03 -0700 Subject: syz-hub: support oauth authentication --- pkg/rpctype/rpctype.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg') 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. -- cgit mrf-deployment