Hi Chaminda, I guess following document can be a help and you can see [1] on how the token API is invoked. he is an example on generating token with a device specific scope.
[1] https://docs.wso2.com/display/AM210/Working+with+Access+Tokens# WorkingwithAccessTokens-Generatingaccesstokensperdevice On Wed, Feb 28, 2018 at 5:20 PM, Harsha Kumara <[email protected]> wrote: > Hi Chaminda, > > That REST API is used to generate the keys of an application. If you > required getting a token with scopes. You can call the API token endpoint. > > [1] https://docs.wso2.com/display/AM210/Token+API > > Thanks, > Harsha > > On Wed, Feb 28, 2018 at 5:13 PM, Chaminda Jayawardena <[email protected]> > wrote: > >> Hi, >> >> I am using store REST apis and want to generate application tokens as >> providing *token* *scopes*. Document[1] which describes how to generate >> keys for an application but no information on how to provide/define >> tokenScopes. >> What is the way that user can define token scopes while generating >> tokens? >> >> [1] https://docs.wso2.com/display/AM2xx/apidocs/store/#!/ope >> rations#ApplicationIndividual#applicationsGenerateKeysPost >> >> -- >> Thanks & Regards >> >> *Chaminda Jayawardena* >> Associate Technical Lead - QA >> WSO2 Inc. - http://wso2.com >> +94-77-7725234 <+94%2077%20772%205234> >> > > > > -- > Harsha Kumara > Software Engineer, WSO2 Inc. > Mobile: +94775505618 <+94%2077%20550%205618> > Blog:harshcreationz.blogspot.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Rajith Siriwardana* WSO2 Inc. | http://wso2.com *lean. enterprise. middleware* --------------------------------------------------- *https://home.apache.org/~siriwardana <https://home.apache.org/~siriwardana>* Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
