MCPcopy
hub / github.com/Ne0nd0g/merlin / Authenticator

Interface Authenticator

pkg/authenticators/authenticators.go:34–39  ·  view source on GitHub ↗

Authenticator is an interface used by various authentication methods

Source from the content-addressed store, hash-verified

32
33// Authenticator is an interface used by various authentication methods
34type Authenticator interface {
35 // Authenticate is the server-side steps to complete Agent authentication
36 Authenticate(id uuid.UUID, data interface{}) (messages.Base, error) // Returning Base so that way it can be sent to the agent
37 // String returns the name of authenticator type
38 String() string
39}

Callers 7

authenticateInitMethod · 0.65
createLogFileFunction · 0.65
AuthenticateMethod · 0.95
AuthenticateMethod · 0.95
AuthenticateMethod · 0.95
AuthenticateMethod · 0.95
AuthenticateMethod · 0.95

Implementers 6

Listenerpkg/listeners/http/http.go
Listenerpkg/listeners/udp/udp.go
Listenerpkg/listeners/tcp/tcp.go
Listenerpkg/listeners/smb/smb.go
Authenticatorpkg/authenticators/opaque/opaque.go
Authenticatorpkg/authenticators/none/none.go

Calls

no outgoing calls

Tested by

no test coverage detected