Difference between revisions of "Gadgets.oauth.Popup (v0.9)"
From VZ Developer Wiki
(Created page with '{{NeedsExamples}} <div style="float:right; margin: 0 0 10px 10px;">__TOC__</div> <span style="font-size:150%"><strong>gadgets.oauth.Popup</strong></span> OAuth popup window man…') |
|||
Line 24: | Line 24: | ||
:'''Description''' | :'''Description''' | ||
<div style="margin-left:4em;"></div> | <div style="margin-left:4em;"></div> | ||
+ | |||
+ | |||
+ | {{ TutorialBox | Lesson 23: Connecting to an external API with OAuth authorization }} | ||
{{ JsApiAlphaList_(v0.9) }} | {{ JsApiAlphaList_(v0.9) }} |
Latest revision as of 11:14, 23 December 2010
This documentation is not completed yet and will be extended by more examples in future.
gadgets.oauth.Popup
OAuth popup window manager.
Methods
gadgets.oauth.Popup.createOpenerOnClick
Function createOpenerOnClick()
- Returns
Type Description Function an onclick handler for the "open the approval window" link.
- Description
gadgets.oauth.Popup.createApprovedOnClick
Function createApprovedOnClick()
- Returns
Type Description Function an onclick handler for the "I've approved" link. This may not ever be called. If we successfully detect that the window was closed, this link is unnecessary.
- Description
This tutorial will give you more examples or information on these features:
Lesson 23: Connecting to an external API with OAuth authorization
OpenSocial (v0.9) | |||
gadgets.oauth.Popup |