(req *http.Request)
| 114 | } |
| 115 | |
| 116 | func (a authenticator) moderationAuth(req *http.Request) error { |
| 117 | claims := jwt.MapClaims{ |
| 118 | "action": "*", |
| 119 | "feed_id": "*", |
| 120 | "resource": resModeration, |
| 121 | } |
| 122 | return a.jwtSignRequest(req, claims) |
| 123 | } |
| 124 | |
| 125 | func (a authenticator) auditLogsAuth(req *http.Request) error { |
| 126 | claims := jwt.MapClaims{ |
nothing calls this directly
no test coverage detected