Class CookieSessionStore

Description

Cookie-based implementation of the session store. session storage used by the Y!OS PHP SDK. implement their own session store implementations and pass them to YahooSession::hasSession, YahooSession::requireSession and YahooSession::clearSession. to YahooSession::hasSession or YahooSession::requireSession, an instance of a NativeSessionStore is used.

Cookie-based implementation of the session store. This is the default session storage used by the Y!OS PHP SDK. Developers are free to implement their own session store implementations and pass them to YahooSession::hasSession, YahooSession::requireSession and YahooSession::clearSession. By default, if no session store is passed to YahooSession::hasSession or YahooSession::requireSession, an instance of a NativeSessionStore is used.

Located in /Yahoo.inc (line 1437)


	
			
Method Summary
 True hasAccessToken ()
 True hasRequestToken ()
 True storeAccessToken ($token $token)
 True storeRequestToken ($token $token)
Methods
clearAccessToken (line 1526)

Clears the access token from the session store.

Clears the access token from the session store.

  • return: on success, false otherwise.
True clearAccessToken ()
clearRequestToken (line 1486)

Clears the request token from the session store.

Clears the request token from the session store.

  • return: on success, false otherwise.
True clearRequestToken ()
fetchAccessToken (line 1517)

Fetches and returns the access token from the session store.

Fetches and returns the access token from the session store.

  • return: access token.
The fetchAccessToken ()
fetchRequestToken (line 1477)

Fetches and returns the request token from the session store.

Fetches and returns the request token from the session store.

  • return: request token.
The fetchRequestToken ()
hasAccessToken (line 1452)

Indicates if the session store has an access token.

Indicates if the session store has an access token.

  • return: if an access token is present, false otherwise.
True hasAccessToken ()
hasRequestToken (line 1443)

Indicates if the session store has a request token.

Indicates if the session store has a request token.

  • return: if a request token is present, false otherwise.
True hasRequestToken ()
storeAccessToken (line 1502)

Stores the given access token in the session store.

Stores the given access token in the session store.

  • return: on success, false otherwise.
True storeAccessToken ($token $token)
  • $token $token: A PHP stdclass object containing the components of the OAuth access token.
storeRequestToken (line 1463)

Stores the given request token in the session store.

Stores the given request token in the session store.

  • return: on success, false otherwise.
True storeRequestToken ($token $token)
  • $token $token: A PHP stdclass object containing the components of the OAuth request token.

Documentation generated on Thu, 22 Oct 2009 12:54:51 -0700 by phpDocumentor 1.4.3