ClassInterface YahooSessionStore

Description

The session store interface. own session store implementations and pass them to YahooSession::hasSession, YahooSession::requireSession and YahooSession::clearSession.

The session store interface. Developers are free to implement their own session store implementations and pass them to YahooSession::hasSession, YahooSession::requireSession and YahooSession::clearSession.

Located in /YahooSessionStore.inc (line 60)


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

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 96)

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 112)

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 89)

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 73)

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 66)

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 105)

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 82)

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:52 -0700 by phpDocumentor 1.4.3