Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { ClientID *secret.Secret `yaml:"clientID,omitempty"` //Existing secret with the clientID ExistingClientIDSecret *secret.Existing `json:"existingClientIDSecret,omitempty" yaml:"existingClientIDSecret,omitempty"` ClientSecret *secret.Secret `yaml:"clientSecret,omitempty"` //Existing secret with the clientSecret ExistingClientSecretSecret *secret.Existing `json:"existingClientSecretSecret,omitempty" yaml:"existingClientSecretSecret,omitempty"` //Used scopes for the OAuth-flow Scopes []string `json:"scopes,omitempty" yaml:"scopes,omitempty"` //Auth-endpoint AuthURL string `json:"authURL,omitempty" yaml:"authURL,omitempty"` //Token-endpoint TokenURL string `json:"tokenURL,omitempty" yaml:"tokenURL,omitempty"` //Userinfo-endpoint APIURL string `json:"apiURL,omitempty" yaml:"apiURL,omitempty"` //Domains allowed to login AllowedDomains []string `json:"allowedDomains,omitempty" yaml:"allowedDomains,omitempty"` }
func ClearEmpty ¶
func (*Auth) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.