Thanks Pushpalanka.

On Thu, Feb 19, 2015 at 12:22 PM, Pushpalanka Jayawardhana <[email protected]>
wrote:

> Hi Gihan,
>
> It depends on the grant type we use.
> Basically, client ID should be there. You can get idea about the required
> parameters from the cURL commands mentioned at [1] for each grant type.
>
> [1] - https://docs.wso2.com/display/AM180/Token+API
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Thu, Feb 19, 2015 at 12:02 PM, Gihan Anuruddha <[email protected]> wrote:
>
>> Thanks Pushpalanka. Can you please tell me what are the mandatory setter
>> methods that need to fill in the OAuth2AccessTokenReqDTO class?
>>
>> Regards,
>> Gihan
>>
>> On Thu, Feb 19, 2015 at 11:47 AM, Pushpalanka Jayawardhana <
>> [email protected]> wrote:
>>
>>> Hi Gihan,
>>>
>>> org.wso2.carbon.identity.oauth2.OAuth2Service has a method named
>>> ' public OAuth2AccessTokenRespDTO
>>> issueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO)'.
>>>
>>> Hope you can use it.
>>>
>>> Thanks,
>>> Pushpalanka.
>>> --
>>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>>> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>>> Mobile: +94779716248
>>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>>
>>>
>>> On Thu, Feb 19, 2015 at 11:40 AM, Gihan Anuruddha <[email protected]>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> $subject apart from oauth2/token REST endpoint?
>>>>
>>>> Regards,
>>>> Gihan
>>>>
>>>> --
>>>> W.G. Gihan Anuruddha
>>>> Senior Software Engineer | WSO2, Inc.
>>>> M: +94772272595
>>>>
>>>
>>>
>>
>>
>> --
>> W.G. Gihan Anuruddha
>> Senior Software Engineer | WSO2, Inc.
>> M: +94772272595
>>
>
>


-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to