Gadgets.oauth.Popup (v0.9)
From VZ Developer Wiki
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 |