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
@@ -701,8 +701,6 @@ func (v *RegisterResponseAuthView) UnmarshalJSON(b []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (v RegisterResponseAuthView) Provider() string { return v.ж.Provider }
|
||||
func (v RegisterResponseAuthView) LoginName() string { return v.ж.LoginName }
|
||||
func (v RegisterResponseAuthView) Oauth2Token() *Oauth2Token {
|
||||
if v.ж.Oauth2Token == nil {
|
||||
return nil
|
||||
@@ -716,8 +714,6 @@ func (v RegisterResponseAuthView) AuthKey() string { return v.ж.AuthKey }
|
||||
// A compilation failure here means this code must be regenerated, with the command at the top of this file.
|
||||
var _RegisterResponseAuthViewNeedsRegeneration = RegisterResponseAuth(struct {
|
||||
_ structs.Incomparable
|
||||
Provider string
|
||||
LoginName string
|
||||
Oauth2Token *Oauth2Token
|
||||
AuthKey string
|
||||
}{})
|
||||
|
||||
Reference in New Issue
Block a user