endregion region Keyboard-interactive KeyboardInteractiveAuthConfig configures the keyboard-interactive authentication method.
| 313 | |
| 314 | // KeyboardInteractiveAuthConfig configures the keyboard-interactive authentication method. |
| 315 | type KeyboardInteractiveAuthConfig struct { |
| 316 | // Method is the authenticator to use for public keys. |
| 317 | Method KeyboardInteractiveAuthMethod `json:"method" yaml:"method" default:""` |
| 318 | |
| 319 | // Webhook configures the oAuth2 authenticator for keyboard-interactive authentication. |
| 320 | OAuth2 AuthOAuth2ClientConfig `json:"oauth2" yaml:"oauth2"` |
| 321 | } |
| 322 | |
| 323 | func (c KeyboardInteractiveAuthConfig) Validate() error { |
| 324 | if err := c.Method.Validate(); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected