Documentation
¶
Index ¶
- Constants
- func Register(encryptionService authentication_type.PasswordService)
- type AuthConfig
- func (a *AuthConfig) ConfigToFormat(outputFormat string, input interface{}) (interface{}, error)
- func (a *AuthConfig) DecodeInformation(outputFormat string, input interface{}) (interface{}, error)
- func (a *AuthConfig) EncodeInformation(outputFormat string, input interface{}) (interface{}, error)
- func (a *AuthConfig) GetFeatureConfig() []authentication_type.ConfigFeature
- func (a *AuthConfig) Metadata() authentication_type.AuthenticationTypeConfig
- func (a *AuthConfig) OmitInformation(outputFormat string, input interface{}) (interface{}, error)
- func (a *AuthConfig) ValidateConfiguration(inputFormat string, input interface{}) error
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 (a *AuthConfig) Metadata() authentication_type.AuthenticationTypeConfig
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
Click to show internal directories.
Click to hide internal directories.