<@dev> Hi,
Cannot ad scopes for APIs in the latest pack (29 Apr) due to [1], please have a look. [1] https://wso2.org/jira/browse/APIMANAGER-2246 regards, Nirodha On Mon, Apr 28, 2014 at 8:57 AM, Nuwan Dias <nuw...@wso2.com> wrote: > On Sun, Apr 27, 2014 at 10:59 PM, Nirodha Pramod <niro...@wso2.com> wrote: > >> >> Hi, >> >> As we are doing the proper implementation of OAuth2 'scope' this time, do >> we have the $subject in API-M 1.7.0 release, If so, >> > > Yes. > >> >> 1) Is it possible to generate a token for multiple scopes? How? >> > > Just pass in the scopes in the token generation request. For example, > > grant_type=password&username=<username>&password=<password>&scope=read_tweet > update_status > >> >> 2) Is it possible to restrict a particular resource in an API, for >> multiple scopes? >> > > No, a resource (ex: GET /tweets) can only be given a single scope. > >> >> thanks, >> Nirodha >> >> -- >> >> *Nirodha Gallage* >> Senior Software Engineer, QA. >> WSO2 Inc.: http://wso2.com/ >> Mobile: +94716429078 >> > > > > -- > Nuwan Dias > > Associate Tech Lead - WSO2, Inc. http://wso2.com > email : nuw...@wso2.com > Phone : +94 777 775 729 > -- *Nirodha Gallage* Senior Software Engineer, QA. WSO2 Inc.: http://wso2.com/ Mobile: +94716429078
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev