Authenticator is an interface used by various authentication methods
| 32 | |
| 33 | // Authenticator is an interface used by various authentication methods |
| 34 | type 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 | } |
no outgoing calls
no test coverage detected