(req *http.Request)
| 68 | } |
| 69 | |
| 70 | func (a authenticator) collectionsAuth(req *http.Request) error { |
| 71 | claims := jwt.MapClaims{ |
| 72 | "action": "*", |
| 73 | "feed_id": "*", |
| 74 | "resource": resCollections, |
| 75 | } |
| 76 | return a.jwtSignRequest(req, claims) |
| 77 | } |
| 78 | |
| 79 | func (a authenticator) usersAuth(req *http.Request) error { |
| 80 | claims := jwt.MapClaims{ |
nothing calls this directly
no test coverage detected