Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleLoginConfigStruct ¶
type GoogleLoginConfigStruct struct { ClientSecret string `default:"" validate:"" json:"CLIENT_SECRET,omitempty" yaml:"CLIENT_SECRET,omitempty"` ClientId string `default:"" validate:"" json:"CLIENT_ID,omitempty" yaml:"CLIENT_ID,omitempty"` }
GoogleLoginConfigStruct represents the GoogleLoginConfigStruct config fields
func NewGoogleLoginConfigStruct ¶
func NewGoogleLoginConfigStruct(fullConfig map[string]interface{}) (*GoogleLoginConfigStruct, error)
NewGoogleLoginConfigStruct creates a new GoogleLoginConfigStruct
type GoogleLoginFieldGroup ¶
type GoogleLoginFieldGroup struct { FeatureGoogleLogin bool `default:"false" validate:"" json:"FEATURE_GOOGLE_LOGIN" yaml:"FEATURE_GOOGLE_LOGIN"` GoogleLoginConfig *GoogleLoginConfigStruct `default:"" validate:"" json:"GOOGLE_LOGIN_CONFIG,omitempty" yaml:"GOOGLE_LOGIN_CONFIG,omitempty"` }
GoogleLoginFieldGroup represents the GoogleLoginFieldGroup config fields
func NewGoogleLoginFieldGroup ¶
func NewGoogleLoginFieldGroup(fullConfig map[string]interface{}) (*GoogleLoginFieldGroup, error)
NewGoogleLoginFieldGroup creates a new GoogleLoginFieldGroup
func (*GoogleLoginFieldGroup) Fields ¶
func (fg *GoogleLoginFieldGroup) Fields() []string
Fields returns a list of strings representing the fields in this field group
func (*GoogleLoginFieldGroup) Validate ¶
func (fg *GoogleLoginFieldGroup) Validate(opts shared.Options) []shared.ValidationError
Validate checks the configuration settings for this field group
Click to show internal directories.
Click to hide internal directories.