mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-24 00:28:18 +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})
|
||
|
}
|