(req *http.Request)
| 77 | } |
| 78 | |
| 79 | func (a authenticator) usersAuth(req *http.Request) error { |
| 80 | claims := jwt.MapClaims{ |
| 81 | "action": "*", |
| 82 | "feed_id": "*", |
| 83 | "resource": resUsers, |
| 84 | } |
| 85 | return a.jwtSignRequest(req, claims) |
| 86 | } |
| 87 | |
| 88 | func (a authenticator) reactionsAuth(req *http.Request) error { |
| 89 | claims := jwt.MapClaims{ |
nothing calls this directly
no test coverage detected