GData JavaScript Client 1.6

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|null 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|null login(<String> scope)

logout

Boolean logout(<Function> opt_callback)

GData JavaScript Client 1.6

Documentation generated by JSDoc on Tue Oct 14 17:57:25 2008