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

Method analyticsAuth

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

Source from the content-addressed store, hash-verified

105}
106
107func (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
116func (a authenticator) moderationAuth(req *http.Request) error {
117 claims := jwt.MapClaims{

Callers

nothing calls this directly

Calls 1

jwtSignRequestMethod · 0.95

Tested by

no test coverage detected