mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
8 lines
191 B
Go
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})
|
|
}
|