Auth is the provider for authentication middleware.
| 27 | |
| 28 | // Auth is the provider for authentication middleware. |
| 29 | type Auth struct { |
| 30 | DB Database |
| 31 | } |
| 32 | |
| 33 | type authenticate func(tokenID string, user *model.User) (authenticated, success bool, userId uint, err error) |
| 34 |
nothing calls this directly
no outgoing calls
no test coverage detected