GData JavaScript Client 1.3

Class google.gdata.client.CookieAuthenticator

Object
   |
   +--google.gdata.client.Authenticator
         |
         +--google.gdata.client.CookieAuthenticator

class google.gdata.client.CookieAuthenticator
extends google.gdata.client.Authenticator

Defined in gdata.js


Field Summary
 Object cookieName_
          
 Object loginType_
          
 
Constructor Summary
google.gdata.client.CookieAuthenticator(<Object> service, <String> cookieName, <string> loginType)
            Creates an instance of CookieAuthenticator to be used with a service.
 
Method Summary
 void authenticate(<String> uri, <function()> continuation, <function(Error)> opt_errorHandler)
           Authenticates based on the presence of a cookie.
 Boolean isAuthenticated(<String> uri)
           This method returns true if authentication was successful.
 Boolean isAuthenticationRequired(<String> uri)
           Checks whether this authenticator actually requires authentication.
 void setAuthHeaders(<String> uri, <Object> headers)
           Sets authentication headers

Field Detail

cookieName_

Object cookieName_

loginType_

Object loginType_

Constructor Detail

google.gdata.client.CookieAuthenticator

google.gdata.client.CookieAuthenticator(<Object> service, <String> cookieName, <string> loginType)

Method Detail

authenticate

void authenticate(<String> uri, <function()> continuation, <function(Error)> opt_errorHandler)

isAuthenticated

Boolean isAuthenticated(<String> uri)

isAuthenticationRequired

Boolean isAuthenticationRequired(<String> uri)

setAuthHeaders

void setAuthHeaders(<String> uri, <Object> headers)

GData JavaScript Client 1.3

Documentation generated by JSDoc on Mon Jun 30 17:22:45 2008