(req *http.Request)
| 95 | } |
| 96 | |
| 97 | func (a authenticator) personalizationAuth(req *http.Request) error { |
| 98 | claims := jwt.MapClaims{ |
| 99 | "action": "*", |
| 100 | "user_id": "*", |
| 101 | "feed_id": "*", |
| 102 | "resource": resPersonalization, |
| 103 | } |
| 104 | return a.jwtSignRequest(req, claims) |
| 105 | } |
| 106 | |
| 107 | func (a authenticator) analyticsAuth(req *http.Request) error { |
| 108 | claims := jwt.MapClaims{ |
nothing calls this directly
no test coverage detected