func ServiceAsUser(serviceName string, tm token.Manager, u account.Identity) *goa.Service {
	svc := goa.New(serviceName)
	svc.Context = WithIdentity(svc.Context, u)
	svc.Context = tokencontext.ContextWithTokenManager(svc.Context, tm)
	return svc
}
// ServiceAsUser creates a new service and fill the context with input Identity
ServiceAsUser creates a new service and fill the context with input Identity
// ServiceAsUser creates a new service and fill the context with input Identity
func ServiceAsUser(serviceName string, tm token.Manager, u account.Identity) *goa.Service {
	svc := goa.New(serviceName)
	svc.Context = WithIdentity(svc.Context, u)
	svc.Context = tokencontext.ContextWithTokenManager(svc.Context, tm)
	return svc
}
func ServiceAsUser ( serviceName string , tm token . Manager , u account . Identity ) * goa . Service { svc := goa . New ( serviceName ) svc . Context = WithIdentity ( svc . Context , u ) svc . Context = tokencontext . ContextWithTokenManager ( svc . Context , tm ) return svc }
ServiceAsUser creates a new service and fill the context with input Identity
ServiceAsUser creates a new service and fill the context with input Identity