MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / KeyboardInteractiveAuthConfig

Struct KeyboardInteractiveAuthConfig

config/auth.go:315–321  ·  view source on GitHub ↗

endregion region Keyboard-interactive KeyboardInteractiveAuthConfig configures the keyboard-interactive authentication method.

Source from the content-addressed store, hash-verified

313
314// KeyboardInteractiveAuthConfig configures the keyboard-interactive authentication method.
315type 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
323func (c KeyboardInteractiveAuthConfig) Validate() error {
324 if err := c.Method.Validate(); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected