MCPcopy
hub / github.com/golang/crypto / retryableAuthMethod

Struct retryableAuthMethod

ssh/client_auth.go:682–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680}
681
682type retryableAuthMethod struct {
683 authMethod AuthMethod
684 maxTries int
685}
686
687func (r *retryableAuthMethod) auth(session []byte, user string, c packetConn, rand io.Reader, extensions map[string][]byte) (ok authResult, methods []string, err error) {
688 for i := 0; r.maxTries <= 0 || i < r.maxTries; i++ {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected