mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 13:57:32 +00:00
8 lines
173 B
Go
8 lines
173 B
Go
|
package auth
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
func NewMockContext(orgID, userID string) context.Context {
|
||
|
return context.WithValue(nil, dataKey, CtxData{UserID: userID, OrgID: orgID})
|
||
|
}
|