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

Struct Authenticator

pkg/authenticators/opaque/opaque.go:60–63  ·  view source on GitHub ↗

Authenticator is a structure that holds an Agent service to add agents once they've completed authentication

Source from the content-addressed store, hash-verified

58
59// Authenticator is a structure that holds an Agent service to add agents once they've completed authentication
60type Authenticator struct {
61 agentService *agent.Service
62 jobService *job.Service
63}
64
65// NewAuthenticator is a factory to create and return an OPAQUE authenticator that implements the Authenticator interface
66func NewAuthenticator() (*Authenticator, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected