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

Method reactionsAuth

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

Source from the content-addressed store, hash-verified

86}
87
88func (a authenticator) reactionsAuth(req *http.Request) error {
89 claims := jwt.MapClaims{
90 "action": "*",
91 "feed_id": "*",
92 "resource": resReactions,
93 }
94 return a.jwtSignRequest(req, claims)
95}
96
97func (a authenticator) personalizationAuth(req *http.Request) error {
98 claims := jwt.MapClaims{

Callers

nothing calls this directly

Calls 1

jwtSignRequestMethod · 0.95

Tested by

no test coverage detected