Authenticator is a structure that holds an Agent service to add agents once they've completed authentication
| 58 | |
| 59 | // Authenticator is a structure that holds an Agent service to add agents once they've completed authentication |
| 60 | type 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 |
| 66 | func NewAuthenticator() (*Authenticator, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected