endregion region GSSAPI
| 356 | // region GSSAPI |
| 357 | |
| 358 | type GSSAPIAuthConfig struct { |
| 359 | // Method is the authenticator to use for GSSAPI authentication. |
| 360 | Method GSSAPIAuthMethod `json:"method" yaml:"method"` |
| 361 | |
| 362 | // Kerberos configures GSSAPI for Kerberos authentication. |
| 363 | Kerberos AuthKerberosClientConfig `json:"kerberos" yaml:"kerberos"` |
| 364 | } |
| 365 | |
| 366 | func (c GSSAPIAuthConfig) Validate() error { |
| 367 | if err := c.Method.Validate(); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected