Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTAuthenticationFieldGroup ¶
type JWTAuthenticationFieldGroup struct { AuthenticationType string `default:"Database" validate:"" json:"AUTHENTICATION_TYPE,omitempty" yaml:"AUTHENTICATION_TYPE,omitempty"` FeatureMailing bool `default:"false" validate:"" json:"FEATURE_MAILING" yaml:"FEATURE_MAILING"` JwtAuthIssuer string `default:"" validate:"" json:"JWT_AUTH_ISSUER,omitempty" yaml:"JWT_AUTH_ISSUER,omitempty"` JwtGetuserEndpoint string `default:"" validate:"" json:"JWT_GETUSER_ENDPOINT,omitempty" yaml:"JWT_GETUSER_ENDPOINT,omitempty"` JwtQueryEndpoint string `default:"" validate:"" json:"JWT_QUERY_ENDPOINT,omitempty" yaml:"JWT_QUERY_ENDPOINT,omitempty"` JwtVerifyEndpoint string `default:"" validate:"" json:"JWT_VERIFY_ENDPOINT,omitempty" yaml:"JWT_VERIFY_ENDPOINT,omitempty"` }
JWTAuthenticationFieldGroup represents the JWTAuthenticationFieldGroup config fields
func NewJWTAuthenticationFieldGroup ¶
func NewJWTAuthenticationFieldGroup(fullConfig map[string]interface{}) (*JWTAuthenticationFieldGroup, error)
NewJWTAuthenticationFieldGroup creates a new JWTAuthenticationFieldGroup
func (*JWTAuthenticationFieldGroup) Fields ¶
func (fg *JWTAuthenticationFieldGroup) Fields() []string
Fields returns a list of strings representing the fields in this field group
func (*JWTAuthenticationFieldGroup) Validate ¶
func (fg *JWTAuthenticationFieldGroup) 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.