googlelogin

package
v0.1.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

Validate checks the configuration settings for this field group

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL