MCPcopy Create free account
hub / github.com/GetStream/stream-go2 / moderationAuth

Method moderationAuth

authenticator.go:116–123  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

114}
115
116func (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
125func (a authenticator) auditLogsAuth(req *http.Request) error {
126 claims := jwt.MapClaims{

Callers

nothing calls this directly

Calls 1

jwtSignRequestMethod · 0.95

Tested by

no test coverage detected