jwtauthentication

package
v0.1.16 Latest Latest
Warning

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

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

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

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