1
0
mirror of https://github.com/zitadel/zitadel.git synced 2025-06-19 22:48:33 +00:00
2020-08-20 22:09:37 +02:00

8 lines
191 B
Go

package authz
import "context"
func NewMockContext(orgID, userID string) context.Context {
return context.WithValue(context.Background(), dataKey, CtxData{UserID: userID, OrgID: orgID})
}