GData JavaScript Client 1.5

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
 Boolean checkLogin(<String> scope)
           Check if a login token is present for a specified scope, without making RPC to check if it is actually valid.
 Object getInfo(<Function> callback)
           Returns information about the login associated with the user, if any, such as target domain and scopes.
 Boolean login(<String> opt_scope)
           Request a login for any requested scopes, validate any local token, and redirect if necessary.
 Object logout(<Function> opt_callback)
           Logout the user.

Constructor Detail

google.accounts.user

google.accounts.user()

Method Detail

checkLogin

Boolean checkLogin(<String> scope)

getInfo

Object getInfo(<Function> callback)

login

Boolean login(<String> opt_scope)

logout

Object logout(<Function> opt_callback)

GData JavaScript Client 1.5

Documentation generated by JSDoc on Thu Oct 2 17:38:03 2008