JSONAuth is a json implementation of an Auther.
| 26 | |
| 27 | // JSONAuth is a json implementation of an Auther. |
| 28 | type JSONAuth struct { |
| 29 | ReCaptcha *ReCaptcha `json:"recaptcha" yaml:"recaptcha"` |
| 30 | } |
| 31 | |
| 32 | // Auth authenticates the user via a json in content body. |
| 33 | func (a JSONAuth) Auth(r *http.Request, usr users.Store, _ *settings.Settings, srv *settings.Server) (*users.User, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected