Hi Rukmal,

Sorry for the delayed response.

It is not tightly bound to carbon modules.

1. You can use basic auth to authenticate each and every API call Or,
2. Call authentication service and retrieve cookie. Use the cookie for
subsequent requests.
3. There is a handler for Oauth as well. But is not thoroughly tested.

hope this answers your question.

thanks,
--Pradeep


On Mon, Aug 11, 2014 at 1:04 AM, Udara Liyanage <[email protected]> wrote:

> Hi Rukmal,
>
> I guess you can do the authentication by calling the REST API s.
>
>
> On Mon, Aug 11, 2014 at 7:59 AM, Dakshika Jayathilaka <[email protected]>
> wrote:
>
>> Hi,
>>
>> You can use Curl commands instead of using carbon component.
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>>
>> On Sun, Aug 10, 2014 at 12:11 PM, Praneesha Chandrasiri <
>> [email protected]> wrote:
>>
>>> Hi Rukmal,
>>>
>>> We have information on REST APIs documented in [1] in Stratos docs.
>>>
>>> Sharing in case it will be helpful.
>>>
>>> [1]
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+REST+API+Guide
>>>
>>>
>>> On Sun, Aug 10, 2014 at 3:04 AM, Rukmal Weerawarana <[email protected]>
>>> wrote:
>>>
>>>> Hi Pradeep,
>>>>
>>>> I had a quick question to ask you about the REST APIs used with Stratos.
>>>>
>>>> Shiro and I are working on the new UI, and currently have no way of
>>>> authenticating new users without using the jaggery 'carbon' component.
>>>> We're experimenting with handling the UI on the client side entirely, so I
>>>> wanted to ask you if a) the new APIs are working, and b) if you have any
>>>> documentation for them.
>>>>
>>>> Thanks!
>>>>
>>>> --
>>>> Rukmal Weerawarana
>>>> Software Engineering Intern, WSO2;
>>>> Student and Research Assistant, University of Washington;
>>>> email: ([email protected] | [email protected] | [email protected]
>>>> );
>>>> cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
>>>> website: http://rukmal.me;
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Best Regards,
>>> *Praneesha Chandrasiri*
>>> *Technical Writer*
>>> *WSO2 Inc. *
>>> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
>>> *E-mail: [email protected] <[email protected]>*
>>>
>>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
>  WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

Reply via email to