Hi Akila,

In case of api access tokens generated per application basis, you can use
regenerateApplicationAccessKey method in SubscriberKeyMgtClient class to
get generated application access tokens *randomly* for APIs. if you call
from jaggery layer to generate tokens randomly you can use
jsFunction_refreshToken in APIStoreHostObject class.

Thanks

On Mon, Oct 20, 2014 at 6:37 PM, Akila Nimantha [IT/EKO/LOITS] <
aki...@lolctech.com> wrote:

>  Hi all,
>
>
>
> Is there any way to randomly generate api keys(token,secret and cosumer
> keys)???
>
> If yes,
>
> Is there a way to access those randomly generated keys(apis) from outside
> without hardcoding(ex. adding manually in web.xml ). Is there any documents
> or blogposts regarding above concerns ???
>
>
>
> Regards,
>
> Akila
>
> This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed and may contain
> information that is non-public, proprietary, privileged, confidential, and
> exempt from disclosure under applicable law or may constitute as attorney
> work product. If you are not the intended recipient, you are hereby
> notified that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and (i) destroy
> this message if a facsimile or (ii) delete this message immediately if this
> is an electronic communication. Thank you.
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to