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

Method personalizationAuth

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

Source from the content-addressed store, hash-verified

95}
96
97func (a authenticator) personalizationAuth(req *http.Request) error {
98 claims := jwt.MapClaims{
99 "action": "*",
100 "user_id": "*",
101 "feed_id": "*",
102 "resource": resPersonalization,
103 }
104 return a.jwtSignRequest(req, claims)
105}
106
107func (a authenticator) analyticsAuth(req *http.Request) error {
108 claims := jwt.MapClaims{

Callers

nothing calls this directly

Calls 1

jwtSignRequestMethod · 0.95

Tested by

no test coverage detected