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

Method collectionsAuth

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

Source from the content-addressed store, hash-verified

68}
69
70func (a authenticator) collectionsAuth(req *http.Request) error {
71 claims := jwt.MapClaims{
72 "action": "*",
73 "feed_id": "*",
74 "resource": resCollections,
75 }
76 return a.jwtSignRequest(req, claims)
77}
78
79func (a authenticator) usersAuth(req *http.Request) error {
80 claims := jwt.MapClaims{

Callers

nothing calls this directly

Calls 1

jwtSignRequestMethod · 0.95

Tested by

no test coverage detected