Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuth2Config ¶
type OAuth2Config struct { TokenUrl string `yaml:"tokenUrl"` AuthUrl string `yaml:"authUrl"` ClientId string `yaml:"clientId"` ClientSecret string `yaml:"clientSecret"` Scopes []string `yaml:"scopes"` CachedToken *oauth2.Token `yaml:"cachedToken,omitempty"` }
OAuth2Config is the configuration for using OAuth2.0 to authenticate with Spinnaker
func (*OAuth2Config) IsValid ¶
func (x *OAuth2Config) IsValid() bool
Click to show internal directories.
Click to hide internal directories.