How do I use authentication in my gadget?
Specify the appropriate features as 'required' in your gadget XML, include the necessary resources in the CDATA section, and use the
useOauth parameter when constructing your gadget:
Specify the appropriate features as 'required' and 'optional' in the gadget XML:
Include the following resources at the beginning of the CDATA section:
See note about the path GADGETDEV:below.
Construct a gadget passing the URL in the
Any Ajax call will now go through the authentication steps if required.For example: