tailcfg: remove some unused fields from RegisterResponseAuth
Fixes #19334 Change-Id: Id6463f28af23078a7bc25b9280c99d4491bd9651 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
05bfa022f2
commit
c39cde79d2
+1
-3
@@ -1070,10 +1070,8 @@ func (st SignatureType) String() string {
|
||||
type RegisterResponseAuth struct {
|
||||
_ structs.Incomparable
|
||||
|
||||
// One of Provider/LoginName, Oauth2Token, or AuthKey is set.
|
||||
// At most one of Oauth2Token or AuthKey is set.
|
||||
|
||||
Provider string `json:",omitempty"`
|
||||
LoginName string `json:",omitempty"`
|
||||
Oauth2Token *Oauth2Token `json:",omitempty"`
|
||||
AuthKey string `json:",omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user