Thanks danushka .. thats what I wanted to know :)

On Mon, Jul 28, 2014 at 3:26 PM, Danushka Fernando <[email protected]>
wrote:

> When you say
>     var carbon = require('carbon');
> It will load the jaggery module in the location
> *$CARBON_HOME/modules/carbon*.
> *module.xml* placed under this location will help you to identify what
> could you do with this module.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
>
> On Mon, Jul 28, 2014 at 3:09 PM, Dakshika Jayathilaka <[email protected]>
> wrote:
>
>> Hi,
>>
>> AFAIK there is no direct proper documentation on this. you can have an
>> idea by checking the code.
>>
>>
>> https://github.com/wso2/jaggery-extensions/blob/master/carbon/module/scripts/server/server.js
>>
>> https://github.com/wso2/jaggery-extensions/tree/master/carbon
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>>
>> On Mon, Jul 28, 2014 at 9:28 AM, Milinda Perera <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> Is there any proper documentation or usage guide for "carbon" in
>>> following code:
>>>
>>> function authenticate(username, password){
>>>     var carbon = require('carbon');
>>>     srv = new carbon.server.Server({url: "https://localhost:9443/admin
>>> "});
>>>     return srv.authenticate(username, password);
>>> }
>>>
>>>
>>>
>>> Thanks,
>>> Milinda
>>>
>>> --
>>> Milinda Perera
>>> Software Engineer;
>>> WSO2 Inc. http://wso2.com ,
>>> Mobile: (+94) 714 115 032
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Milinda Perera
Software Engineer;
WSO2 Inc. http://wso2.com ,
Mobile: (+94) 714 115 032
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to