basicauth

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UsernameConfigFeature = "username"
	PasswordConfigFeature = "password"
)
View Source
const AuthType = "basicauth"

Variables

This section is empty.

Functions

func Register

func Register(encryptionService authentication_type.PasswordService)

Types

type AuthConfig

type AuthConfig struct {
	Username string `json:"username" ,yaml:"username"`
	Password string `json:"password" ,yaml:"password"`
	// contains filtered or unexported fields
}

func (*AuthConfig) ConfigToFormat

func (a *AuthConfig) ConfigToFormat(outputFormat string, input interface{}) (interface{}, error)

func (*AuthConfig) DecodeInformation

func (a *AuthConfig) DecodeInformation(outputFormat string, input interface{}) (interface{}, error)

func (*AuthConfig) EncodeInformation

func (a *AuthConfig) EncodeInformation(outputFormat string, input interface{}) (interface{}, error)

func (*AuthConfig) GetFeatureConfig

func (a *AuthConfig) GetFeatureConfig() []authentication_type.ConfigFeature

func (*AuthConfig) Metadata

func (*AuthConfig) OmitInformation

func (a *AuthConfig) OmitInformation(outputFormat string, input interface{}) (interface{}, error)

func (*AuthConfig) ValidateConfiguration

func (a *AuthConfig) ValidateConfiguration(inputFormat string, input interface{}) error

Jump to

Keyboard shortcuts

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