endregion region PasswordAuth PasswordAuthConfig configures how password authentications are performed.
| 216 | |
| 217 | // PasswordAuthConfig configures how password authentications are performed. |
| 218 | type 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. |
| 230 | func (c PasswordAuthConfig) Validate() error { |
nothing calls this directly
no outgoing calls
no test coverage detected