MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / OnAuthPubKey

Method OnAuthPubKey

internal/security/handler_network.go:46–52  ·  view source on GitHub ↗
(meta metadata.ConnectionAuthPendingMetadata, pubKey auth2.PublicKey)

Source from the content-addressed store, hash-verified

44}
45
46func (n *networkHandler) OnAuthPubKey(meta metadata.ConnectionAuthPendingMetadata, pubKey auth2.PublicKey) (
47 response sshserver.AuthResponse,
48 metadata metadata.ConnectionAuthenticatedMetadata,
49 reason error,
50) {
51 return n.backend.OnAuthPubKey(meta, pubKey)
52}
53
54func (n *networkHandler) OnAuthGSSAPI(meta metadata.ConnectionMetadata) auth.GSSAPIServer {
55 return n.backend.OnAuthGSSAPI(meta)

Callers

nothing calls this directly

Calls 1

OnAuthPubKeyMethod · 0.65

Tested by

no test coverage detected