Gadgets.oauth.Popup (v0.9)

From VZ Developer Wiki
Jump to: navigation, search

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


Help.png

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

gadgets.io

gadgets.json

gadgets.Prefs

gadgets.util

gadgets.views

gadgets.flash

gadgets.MiniMessage

gadgets.oauth.Popup

gadgets.rpc

gadgets.skins

gadgets.pubsub

gadgets.Tab

gadgets.TabSet

gadgets.window

gadgets.i18n

opensocial

opensocial.Activity

opensocial.Address

opensocial.Album

opensocial.BodyType

opensocial.Collection

opensocial.CreateActivityPriority

opensocial.DataRequest

opensocial.DataResponse

opensocial.Email

opensocial.Enum

opensocial.Environment

opensocial.EscapeType

opensocial.IdSpec

opensocial.MediaItem

opensocial.Message

opensocial.MessageCollection

opensocial.Name

opensocial.NavigationParameters

opensocial.Organization

opensocial.Permission

opensocial.Person

opensocial.Phone

opensocial.ResponseItem

opensocial.Url

osapi.Request

osapi.BatchRequest

osapi.people

osapi.activities

osapi.appdata

osapi.messages

osapi.http