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

Method auditLogsAuth

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

Source from the content-addressed store, hash-verified

123}
124
125func (a authenticator) auditLogsAuth(req *http.Request) error {
126 claims := jwt.MapClaims{
127 "action": "*",
128 "feed_id": "*",
129 "resource": resAuditLogs,
130 }
131 return a.jwtSignRequest(req, claims)
132}
133
134func (a authenticator) signAnalyticsRedirectEndpoint(endpoint *endpoint) error {
135 claims := jwt.MapClaims{

Callers

nothing calls this directly

Calls 1

jwtSignRequestMethod · 0.95

Tested by

no test coverage detected