MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / Auth

Struct Auth

cli/internal/model/smartideconfig.go:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25type Auth struct {
26 UserName string `yaml:"username" json:"username"`
27 Token interface{} `yaml:"token" json:"token"`
28 LoginUrl string `yaml:"login_url" json:"login_url"`
29 CurrentUse bool `yaml:"current_use" json:"current_use"`
30}
31
32func (auth Auth) IsNil() bool {
33 return auth.Token == "" || auth.LoginUrl == ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected