Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoginIcon ¶
type LoginIcon struct { Realm string `json:"realm,omitempty" xml:"realm,omitempty" yaml:"realm,omitempty"` Endpoint string `json:"endpoint,omitempty" xml:"endpoint,omitempty" yaml:"endpoint,omitempty"` Priority int `json:"priority,omitempty" xml:"priority,omitempty" yaml:"priority,omitempty"` ClassName string `json:"class_name,omitempty" xml:"class_name,omitempty" yaml:"class_name,omitempty"` Color string `json:"color,omitempty" xml:"color,omitempty" yaml:"color,omitempty"` BackgroundColor string `json:"background_color,omitempty" xml:"background_color,omitempty" yaml:"background_color,omitempty"` Text string `json:"text,omitempty" xml:"text,omitempty" yaml:"text,omitempty"` TextColor string `json:"text_color,omitempty" xml:"text_color,omitempty" yaml:"text_color,omitempty"` TextBackgroundColor string `json:"text_background_color,omitempty" xml:"text_background_color,omitempty" yaml:"text_background_color,omitempty"` // RegistrationEnabled controls whether visitors can registers. RegistrationEnabled bool `json:"registration_enabled,omitempty" xml:"registration_enabled,omitempty" yaml:"registration_enabled,omitempty"` // UsernameRecoveryEnabled controls whether a user could recover username by providing an email address. UsernameRecoveryEnabled bool `` /* 127-byte string literal not displayed */ // PasswordRecoveryEnabled controls whether a user could recover password by providing an email address. PasswordRecoveryEnabled bool `` /* 127-byte string literal not displayed */ // ContactSupportEnabled controls whether contact support link is available. ContactSupportEnabled bool `json:"contact_support_enabled,omitempty" xml:"contact_support_enabled,omitempty" yaml:"contact_support_enabled,omitempty"` // SupportLink is the link to the support portal. SupportLink string `json:"support_link,omitempty" xml:"support_link,omitempty" yaml:"support_link,omitempty"` // SupportEmail is the email address to reach support. SupportEmail string `json:"support_email,omitempty" xml:"support_email,omitempty" yaml:"support_email,omitempty"` }
LoginIcon represents an icon associated with an identity store or provider.
func NewLoginIcon ¶
NewLoginIcon returns an instance of LoginIcon.
func (*LoginIcon) SetEndpoint ¶
SetEndpoint sets the endpoint associated with the icon.
Click to show internal directories.
Click to hide internal directories.