(req *http.Request)
| 105 | } |
| 106 | |
| 107 | func (a authenticator) analyticsAuth(req *http.Request) error { |
| 108 | claims := jwt.MapClaims{ |
| 109 | "action": "*", |
| 110 | "user_id": "*", |
| 111 | "resource": resAnalytics, |
| 112 | } |
| 113 | return a.jwtSignRequest(req, claims) |
| 114 | } |
| 115 | |
| 116 | func (a authenticator) moderationAuth(req *http.Request) error { |
| 117 | claims := jwt.MapClaims{ |
nothing calls this directly
no test coverage detected