GData JavaScript Client 1.7

Class google.accounts.user

Object
   |
   +--google.accounts.user

class google.accounts.user


Class representing state of an authenticated user session.
Defined in gdata.js


Constructor Summary
google.accounts.user()
           
 
Method Summary
 string checkLogin(<string> scope)
           Checks whether a cookie containing a token for the specified scope exists.
 boolean getInfo(<Function> callback)
           Gets detailed information related to the current token, including target (the domain that originally requested the token) and scope.
 string? login(<string> scope)
           Retrieves a valid authentication token.
 boolean logout(<Function> opt_callback)
           Revokes the current authentication token and deletes all authentication cookies for that token stored by the browser.

Constructor Detail

google.accounts.user

google.accounts.user()

Method Detail

checkLogin

string checkLogin(<string> scope)

getInfo

boolean getInfo(<Function> callback)

login

string? login(<string> scope)

logout

boolean logout(<Function> opt_callback)

GData JavaScript Client 1.7

Documentation generated by JSDoc on Wed Dec 10 17:19:28 2008