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

Method usersAuth

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

Source from the content-addressed store, hash-verified

77}
78
79func (a authenticator) usersAuth(req *http.Request) error {
80 claims := jwt.MapClaims{
81 "action": "*",
82 "feed_id": "*",
83 "resource": resUsers,
84 }
85 return a.jwtSignRequest(req, claims)
86}
87
88func (a authenticator) reactionsAuth(req *http.Request) error {
89 claims := jwt.MapClaims{

Callers

nothing calls this directly

Calls 1

jwtSignRequestMethod · 0.95

Tested by

no test coverage detected