MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / PasswordAuthConfig

Struct PasswordAuthConfig

config/auth.go:218–227  ·  view source on GitHub ↗

endregion region PasswordAuth PasswordAuthConfig configures how password authentications are performed.

Source from the content-addressed store, hash-verified

216
217// PasswordAuthConfig configures how password authentications are performed.
218type PasswordAuthConfig struct {
219 // Method is the authenticator to use for passwords.
220 Method PasswordAuthMethod `json:"method" yaml:"method" default:""`
221
222 // Webhook configures the webhook authenticator for password authentication.
223 Webhook AuthWebhookClientConfig `json:"webhook" yaml:"webhook"`
224
225 // Kerberos configures the Kerberos authenticator for password authentication.
226 Kerberos AuthKerberosClientConfig `json:"kerberos" yaml:"kerberos"`
227}
228
229// Validate checks the password configuration structure for misconfiguration.
230func (c PasswordAuthConfig) Validate() error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected